Copy link to clipboard
Copied
Does anyone know...
We would like to use Scritping to process a folder of InDesign documents, one by one, and write a report to a text file when done. The problem I'm having is that if the any of the InDesgin documents have broken Graphic Links, the scripts pauses while waiting for user input while opening that particular document. Is there any way to suppress this dialog 'warning' that InDesign throws up so that we can just process all of the documents in the folder without pausing?
Some of the directories we have hold hundreds of documents. I don't want to start the script and have to sit there and hit the return key for nearly every single document.
Thanks in advance.
Sure, just add at the beginning of the script:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
... just make sure to set it back to INTERACT_WITH_ALL at the end of the process!
Copy link to clipboard
Copied
Sure, just add at the beginning of the script:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
... just make sure to set it back to INTERACT_WITH_ALL at the end of the process!
Copy link to clipboard
Copied
COOL BEANS!!! Just what I was looking for!
Vielen Dank!
Copy link to clipboard
Copied
Great, glad it helped. I just edited the last sentence of my reply (INTERACT_WITH_ALL is what you want at the end of the process).
Copy link to clipboard
Copied
Hi @Ken Webster ,
also see into the ExtendScript DOM documentation that was compiled by Gregor Fellenz:
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#ScriptPreference.html
Regards,
Uwe Laubender
( Adobe Community Expert )
Find more inspiration, events, and resources on the new Adobe Community
Explore Now