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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe Javascript setPageAction() error

Status
Not open for further replies.

jsulman

Programmer
Jun 14, 2001
85
US
Has anybody gotten the Adobe 6.0 setPageAction() method to work?

I have the following code:

var otherDoc = app.openDoc("Search.pdf", this);
app.alert(otherDoc.path);
otherDoc.setPageAction(0,"open","app.beep(0)");

which gives the following message
GeneralError: operation failed.

The alert is just to check the path to make sure I got the right file, and I do.

Even the example from the Javascript reference causes the same error:
this.setPageAction(0,"open","app.beep(0)");

Anybody have any ideas?

Thank you in Advance

Jeff Sulman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top