set document-level action
I'm fooling around with document-level actions and can't seem to get it working. Below is my code:
var didSave = function()
{
console.println("saved!");
};
this.setAction("DidSave", didSave);
This is the error that I get in the console:
TypeError: this.setAction is not a function
47:Folder-Level:App:will_save.js
Using Acrobat X Standard. Any help you can provide is appreciated!
