I put together a small script in Acrobat Pro 9. When I try to run it in Acrobat Reader 8 or 9 I get a:
NotAllowedError: Security Settings Prevent Access to the Property or Method.
I put together a small script in Acrobat Pro 9. When I try to run it in Acrobat Reader 8 or 9 I get a:
NotAllowedError: Security Settings Prevent Access to the Property or Method.
What is the script? Did you check the JavaScript Reference to see if what you are trying to do is allowed in Reader?
http://www.adobe.com/devnet/acrobat/
(under the Documentation tab on that page)
Security restrictions have changed a LOT over the last few releases of Acrobat so checking the documentation is an important part of the process when developing with Acrobat JavaScript.
Hope this helps,
Dimitri
www.windjack.com
www.pdfscripting.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com