6 Replies Latest reply on Sep 14, 2018 1:29 AM by priyak7746321

    Wait for autoflowing

    RolfCl Level 1

      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?