2 Replies Latest reply on Feb 20, 2014 11:19 AM by Kashmira

    Suppressing alerts while opening a file in Illustrator

    Kashmira

      Hi all,

      Am very new to illustrator scripting (started only a couple days ago), and have a very basic question.

      I get these warning messages when some fonts are missing. I would like my script to ignore these and continue.

       

      This is what I tried, but it does not seem to work:

       

      var workingFile = new File(fassTmpDirPath + newFileName);

      app.UserInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

      app.open(workingFile);

       

      Do I need to set the level elsewhere?

       

      Thanks!

      Kashmira