Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Process large amount of InDesign docs without pauses

Explorer ,
Jan 22, 2025 Jan 22, 2025

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.

TOPICS
How to , Scripting
418
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Jan 22, 2025 Jan 22, 2025

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!

 

Translate
People's Champ ,
Jan 22, 2025 Jan 22, 2025

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!

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 22, 2025 Jan 22, 2025

COOL BEANS!!! Just what I was looking for!

Vielen Dank!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jan 22, 2025 Jan 22, 2025

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).

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 23, 2025 Jan 23, 2025
LATEST

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 )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines