Running an InDesign Script

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Running an InDesign Script Wed May 30, 2018 1:26 pm • by Stuarth64
Hi, I am very impressed with the reviews of Hazel and believe it may be the solution for a workflow that calls an InDesign script. The workflow would scan for any new job folders added to a current date folder within a main watched folder. This would then run the InDesign script (via applescript I presume).

Because the script could take a while to complete it's task and other folders may have been added during this time, I am wondering if Hazel will try and run multiple instances of the script or will it queue the 'triggers' in order to run the script again once it has finished. Is there a way to tell if the InDesign script is currently running?

Any help or advice on this would be much appreciated.
Stuarth64
 
Posts: 1
Joined: Wed May 30, 2018 12:49 pm

Re: Running an InDesign Script Thu May 31, 2018 11:21 am • by Mr_Noodle
Hazel processes each file in sequence. Depending on the script's interactions with InDesign, it might return before InDesign is finished. You would need to add a mechanism to check on InDesign and wait until it's done in that case. Check some AppleScript sites on this as it may be a bit more involved.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support