These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Why might a script run fine on Page Open but not as Document script?

CarolinaPower
Registered: Mar 26 2009
Posts: 43

Since the script produces default dates that may be modified it belongs as a document level script only (don't want user dates reset if the user returns to the page).

Acrobat 9 Pro.

Pulling hair out.

My Product Information:
Acrobat Standard 9.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Need a little more information. What exactly does the script do? and what's going wrong?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script