5 Replies Latest reply on Dec 7, 2010 12:01 PM by robert_underwood

    "Untitled" may be damaged - Need to choose OK on Open

    robert_underwood Level 1

      Hello,

       

      I have a Javascript that will open InDesign documents in a folder and batch save them as inx files. However, some of these documents have either crashed, or have some plug-in issue so that a message opens up when they are first opened that says "Untitled" may be damaged. Do you want to open it anyway? Because this window pops up, the script cannot run. I need to write a line in Javascript that basically says:

       

      If this error window is generated on open, choose "OK"

       

      Any help would be much appreciated.