3 Replies Latest reply on Mar 9, 2012 3:26 AM by MacRaz65

    Turning alerts off in PS CS5

    MacRaz65

      Hello,

       

      Can anyone tell me the correct command to turn all alerts off in a PS CS5 jsx. I've tried the following which doesn't seem to work:

       

      app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

       

       

      I've had issues with this in the past with Illustrator and know that the command has changed a bit from version to version. I've tried various options that worked in Illustrator in the past but no luck.

       

      I think this was CS3

      app.userInteractionLevel = UserInteractionLevels.neverInteract;

       

      and this was pre-CS3

      app.userInteractionLevel=UserInteractionLevel.DONTDISPLAYALERTS;

       

      Any help appreciated

      Raz