4 Replies Latest reply on Sep 9, 2010 6:51 PM by magic3000_chris

    Open indd without warning message

    magic3000_chris Level 1

      Hi....

       

      currently i am working on a batch job to open indd files from a folder. But those file have character set and image link missing. Once the file is opened, it will pop up the warning windows, and my script can't close the file as well. Finally, it will come up an error because of the warning windows is still open.

       

      Is there any method to disable warning message?

      my code is something like:

       

      var myFolder = Folder("C:\\temp_indd");
      var myINDD = myFolder.getFiles("*.indd");
      for (f = 0; f < myINDD.length; f++) {
          app.open(myINDD[f]);
          do_something();
          myINDD[f].close();
      }
      

       

      Chris