Previous | Next | (P-PDF) JavaScript
Topic: appOpenDoc Question
Conf: (P-PDF) JavaScript, Msg: 80777
From: wilmark
Date: 2/4/2003 02:49 AM
Where should this line be - i have tried every possible location (even at doc level for the destination document) for the appOpenInPlace and it still opens two windows. this is what my script looks like:
app.openInPlace = "true";
var otherDoc = app.openDoc("2.pdf",this);
otherDoc.pageNum = 4;
Also do you know why if i dont leave the "this" in the opendoc above it generates "Invalid argument values for Appopendoc cPath errors". Sometimes it works.