5 Replies Latest reply on Sep 22, 2010 8:31 AM by Marijan Tompa [tomaxxi]

    Suppress "Missing Fonts" dialog box when running JavaScript

    behrk2

      Hello,

       

      I am developing a script (using JavaScript) that will convert all of the InDesign files in a specified directory to PDF files. I am running into an issue when I run the script because all of the InDesign files have missing links/fonts.  Therefore, a "Missing Fonts" dialog box will open after each InDesign file opens.  I believe that because this dialog box is open, I am receiving the error:

       

      "cannot handle the request because a modal dialog or alert is active"

       

      Again, I am assuming that my script is not running because of the open "Missing Fonts" dialog box.

       

      Is it possible to suppress all user warnings?  I have read some things regarding user interaction levels, however I have not found any way to set this with JavaScript.

       

      I'd appreciate any help.

       

      Thanks!