Skip to main content
Participant
October 25, 2024
Answered

How to Suppress Profile Mismatch Dialog in InDesign Crop and Export Script

  • October 25, 2024
  • 1 reply
  • 376 views

I have a script in InDesign, it essentially taken a selection of objects, groups them, creates crop marks, puts these on a temp document which resizes to the content and gives a dialog for PDF export options, finally returning to the original document. 

 

When the colour profile doesn't match, the paste operation of the script triggers the profile mismatch dialog. I wonder if there is a way of supressing or ignoring this, or changing the values for this specific instance and returning them after the script finishes? 

 

Thanks! 

 

<Title renamed by MOD>

 

 

This topic has been closed for replies.
Correct answer brian_p_dts
app.scriptPreferences.userInteractionLevel = UserInteractionLevel.NEVER_INTERACT;

1 reply

brian_p_dts
Community Expert
brian_p_dtsCommunity ExpertCorrect answer
Community Expert
October 25, 2024
app.scriptPreferences.userInteractionLevel = UserInteractionLevel.NEVER_INTERACT;
Participant
October 25, 2024

Ah, I thought I'd tried this but, yes this works, thank you!