Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Missing font alert stops script

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #114746
      Bryan Colley
      Member

      I have an Applescript for Indesign CC and every time it runs, the missing font alert comes up and it stops the script. I get this message:

      Adobe InDesign CC 2019 got an error: Cannot handle the request because a modal dialog or alert is active.

      This didn’t happen with older versions of InDesign.

      Is there any way for the script to turn off the alert or ignore it?

    • #114778
      Peter Kahrel
      Participant

      You need the AppleScript equivalent of this JavaScript line:

      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

      Afterwards you have to re-enable alerts (which includes all InDesign’s panels and dialogs):

      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;

      P.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Forum Ads