2 Replies Latest reply on Apr 6, 2010 1:39 AM by RolfCl

    Wait for autoflowing


      I am using Javascript to automate Indesign CS4 and use the following line to place a text file (it is a tagged text file):




      Everything works great as long as I have "simple" layout with few text frames per page. With a lot of text frames per page the autoflowing takes a while, and it seems my script continues to run before the autoflowing is finished. The script tries to work on text not imported yet (or not placed on the pages yet) and it stops.


      How can I wait for the place command and autoflowing to finish, before the rest of the script is executed?