5 Replies Latest reply on Jul 4, 2013 9:12 AM by Peter Kahrel

    JS: app.modalState?

    Peter Kahrel Adobe Community Professional & MVP

      app has a property modalState (omv help: "If true, a modal dialog or alert is active."). You'd think that something like this should work:

       

      if (app.modalState){

         // xyz

      }

       

      But, like any other code, it just locks up InDesign/the script engine. Setting UserInteractionLevels.neverInteract doesn't help (as expected, but you never know). Any ideas? Am I missing something?

       

      Thanks,

       

      Peter