javascript to open specific page in other pdf doc
Heya everybody. I was playing around with one of my old docs and it uses the otherDoc javascript. Everything still works fine, but what I would like to add (to the button which opens the other doc), is to have the other doc opens but also opens to a specific page. I can't figure it out. Can someone help out with the javascript to make it work. This is a sample bit of script I'm using to open and transfer info from one doc to the other.
case "WSPro":
var myDoc = this ;
var otherDoc=app.openDoc("WSPro.pdf",this);
try {
otherDoc.getField("daName").value = myDoc.getField("daName").value
} catch(e) {}
etc, etc.
break;
I want, when WSPro.pdf opens that it will open to page 5 when I select it from myDoc. But, will open to page 1 when opens when opening the WSPro.pdf directly.
Thank you all for your time and help through the years.
