Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insert pages call

Status
Not open for further replies.

KENDIGIT

Programmer
Mar 26, 2003
17
0
0
US
Hi;
I'm attempting to define a button that will execute javascript. I am trying to insertPages into the original document based on someone pressing the button.
Here is the java script:

insertPages(4,"/c/Documents and Settings/burleigh/Desktop/Bassett IEP/06300402.pdf")


Here is the error code:

NotAllowedError: Security settings prevent access to this property or method.
Global.insertPages:1:AcroForm:Button2.0i:Annot1:MouseUp:Action1
Exception in line 1 of function top_level, script AcroForm:Button2.0i:Annot1:MouseUp:Action1


Thank you for your help
Ken
 
Did you happen to check the security settings of this PDF, as indicated by the error?



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Hi Tgreer;
Nice to talk with you again. I did for both documents.
I set them both to "No Security".
Is there anything special I need, to use the insertPages Method?
Ken
 
Sorry Tgreer;
I'm using Acrobat 6.0 professional
Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top