Pause an InDesign script

Post Reply
pfischer
Member
Posts: 53
Joined: Tue May 14, 2013 4:57 pm

Pause an InDesign script

Post by pfischer »

Hello everyone,
I have a question for our script experts.

Is it possible to pause an InDesign script during execution for a defined time before it is processed further? I have tried it with "setTimeout" but did not get any results.

The background is as follows:
We need an InDesign script that keeps an InDesign file open in InDesign for a certain time. During this time, a third-party script in InDesign loads all linked images from an image database into a local directory. When all images have been loaded, the Switch InDesign module starts writing a PDF or simply saves the INDD-file.
I.e. the following steps:
- Open INDD file
- Wait x time (e.g. 10 minutes)
- Export PDF file/save as INDD

Thank you for your support!

Beste Grüße / Kind regards
Peter Fischer
Media asset and production specialist
Digital processes and solutions / Marketing-related solutions
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
Post Reply