Adobe Acrobat X Standard Document Level Javascript
How do I create a document level javascript in Acrobat X? I'm trying to work with forms in my PDF files.
How do I create a document level javascript in Acrobat X? I'm trying to work with forms in my PDF files.
Thank you for your assistance!
Okay I found out how to launch the JS Console (debugger). Using this syntax to create the javascript,
this.addScript("ScriptName", "app.alert(\"Hello\"); // script code goes here as a string");
how do I insert this Document Level script (lines 1. through 7.) in it? I know how to set up the bottom part.
You need to convert the function into a string and then execute the code I provided with it as the second parameter.
By the way, you should consider upgrading to Acrobat Pro, where applying doc-level scripts is much easier.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.