Copy link to clipboard
Copied
Hey guys,
i wrote a little script that opens a document, checks some paragraphs and the it export
the doc to a PDF.
My problem is the the document contains a big linked Illustrator-File and my script runs
the export before the Illustrator-File is loaded...so the graphic-frame is empty in the PDF.
(When i insert a little alert before export the doc then the script works perfectly...but thats not the solution...)
Does anyone has an idea how i can wait till all linked files are loaded?
Thx all!
Copy link to clipboard
Copied
Use recompose method.
app.activeDocument.recompose();
Shonky
Copy link to clipboard
Copied
Sorry but this has not solved the Problem, frames with Illustrator-Content are still empty in the PDF...
Copy link to clipboard
Copied
Hey!
Try this:
$.sleep(2000);
This will pause script executing, maybe it will help.
tomaxxi
Copy link to clipboard
Copied
I'm afraid that your only real solution will be APID... http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item-developer/
Harbs
Find more inspiration, events, and resources on the new Adobe Community
Explore Now