3 Replies Latest reply on Mar 5, 2014 8:25 AM by EPKI Guy

    Programmatically using the app.execMenuItem "SaveAs" and "Close"

    EPKI Guy

      I am using Acrobat XI pro licensed...


      I created a custom action with one step (Execute Javascript), after all the code runs I added a SaveAs and a Close.  It prompts me to save the document, which I do successfully, but directly after I save it, it pops up and tells me that the action is not complete and asks if I want to exit the action.  See below....


      1) Code as it is in the script (last 5 lines of it)


      // Document SaveAs command



      // Document Close command





      2) Error Pic





      When I click "Yes" here, I get the "Adobe Stopped working" error Shown below.




      My Question is this  >>  How do I get the error to go away?