OT: insertPages method for Acrobat 7

Rick Quatro frameexpert at truevine.net
Thu Mar 9 19:55:08 PST 2006


Hello Framers,

I have a question about Acrobat 7.0.7 Professional JavaScript. The following 
code worked fine in Acrobat 6 Pro:

var sPath = "C:/DATA/Scripts/BehrSystems/20050429_ImportDrawings/drawings";
this.insertPages({nPage:6,cPath:sPath+"/JMA00000311.pdf"});

In Acrobat 7.0.7 Pro, the code gives me an error:

RaiseError: A file error has occurred.
Global.insertPages:2:Console undefined:Exec
 ===> A file error has occurred.

Does anyone know if this is a known issue with Acrobat 7 JavaScript? Thank 
you very much.

Rick Quatro
Carmen Publishing
585-659-8267
www.frameexpert.com




More information about the framers mailing list