4 Replies Latest reply on Jul 22, 2010 10:51 AM by Harbs.

    Script exports document before it is fully loaded?

    Creaticious

      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!