Does anyone know how to disable a modal alert or automate a modal alert to make it go away? Here is my scenario:
My script opens an InDesign document. After document is open, application throws a modal alert telling user that "there is/are missing fonts and other fonts will be substituted for the time being.
Setting user interaction to none works for me, too – but at the end of your script, you might consider setting the interaction level back to all, because you probably don’t want to disable modals past the run of your script …
Hello, I am new to this forum and was searching for a way round this very problem. However, I get a dialog telling me that “Adobe CS2 got an error: Can’t set user interaction level to never interact.” I have tried this as a part of my script and also as a little standalone, with no success.
Both this forum and Adobe mention it, not to mention the fact that it appears as a preference in the script library. Grrr.
The user interaction command was moved for InDesign CS2. It used to be a property of the application itself, now it’s a property of the Script Preference class:
tell application "Adobe InDesign CS2"
set user interaction level of script preferences to never interact
--do stuff here...
set user interaction level of script preferences to interact with all
end tell