0 Replies Latest reply on Jan 14, 2014 10:13 AM by akiva_atwood

    Help needed with "Unable to undo the last command" error

    akiva_atwood Level 1

      My script uses the undo code below:


      app.doScript(Main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Add Text");


      function Main(){




      It works fine for thefirst 3 calls. on the fourth call I get the following error:


      Error Number 90371

      Error String: Unable to undo the last command


      Anyone know what could cause this?