The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

Hi,

I try to set a bookmark action with javascript (Windows XP, Acrobat 6.0 
Pro) like this :

var oDoc = app.openDoc('../SubFolder1/File1.pdf', this);

When I click this bookmark, I get a message : NotAllowedError : 
Protection parameters do not permit access to this property or method 
(approximate translation...).

Is there new protection rules with Javascript and Acrobat 6.0 pro, as 
this method did work with Acrobat 5.0 ? Javascript guide does not 
mention that openDoc is a protected method...

Another issue : with Acrobat 5.0 and opening of this document in a 
browser, this same method (var oDoc = 
app.openDoc('../SubFolder1/File1.pdf', this);) does not work, with an 
error : Incorrect parameter cPath., whereas it works in Acrobat. Is the 
problem the relative path, the THIS keywork or whatever else ?

Thanks for help.

Mikael LAUSSEUR
Aalto Conseil


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to