8 Replies Latest reply on Sep 20, 2017 3:50 PM by try67

    set document-level action

    four80eastfan Level 1

      I'm fooling around with document-level actions and can't seem to get it working. Below is my code:


      var didSave = function()
      this.setAction("DidSave", didSave);


      This is the error that I get in the console:

      TypeError: this.setAction is not a function



      Using Acrobat X Standard. Any help you can provide is appreciated!