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
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