JavaScript: Add new menuitem in Acrobat 5.0 [Resolved]
I am having trouble getting this script to run. I have it entered at
the Document level and I need to know where its going wrong.
Code:
function APD_Menu(){
app.addMenuItem({cName: "Save to Working dir...", cParent: "File", cExec: "app.alert("Save to Working directory!");",cEnable: "event.rc = (event.target != null);",nPos: 0});
}
When I try to call my function it gives the error - "SyntaxError: syntax error undefined"
Any ideas or suggestions?
Thanks in advance for any help on this.