I am having a heck of a time trying to get the app.launchURL to work correctly. I have followed all instructions given to me on this site and still having an issue. I need my users to click on a link within a .pdf document and allow that link to open in a new window, which is also a .pdf file. Most individuals will be using Adobe reader to execute this. anywhere from version 5 to version 8. The files that they will be launching are on a web server in a folder. Can anyone give me some direction on how to accomplish this? Please
The "launchURL()" function specifically targets the browser so you need a browser, rather than Acrobat, oriented solution. One simple method is to use browser JavaScript, as opposed to a raw URL. try this.
app.launchURL("javascript:alert('hello World')");
This displays an alert box in your browser. If you know browser JavaScript, which I don't, then you can execute a script that will open a new window.
Good Luck
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script