3 Replies Latest reply on Feb 9, 2010 12:08 AM by try67

    Click Event Script for a Save As Dialog Box

    Jo_2005 Level 1

      Hello,

       

      I have an execute menu item script for "SaveAs" in batch procecessing.

       

      I have added a click event so the document will save without user intervention.

       

      The "SaveAs" part of the script works fine, but the click event is not being triggered.

       

      /* Save As */
      app.execMenuItem("SaveAs");
      Save.execevent("click");

       

      The javascript debugger has the following error:

       

      Save is not defined
      3:Batch:ExecException in line 3 of function top_level, script Batch:Exec

       

       

      Some advise or assistance would be most appreciated.