Adding links to PDF with JavaScript
Hello, I'm trying to add a hypertext link to my PDF using javascript (or applescript), but it's not adding quite the way I want.
When I create the link rectangle, I'm applying an action with the setAction command
Example :
myLink.setAction(\"this.getURL('http://adobe.com')\");
Once the link has been created, upon investigation of the link it will be created as a "Run a javascript" action in the PDF instead of an "Open a web link" action. Is there a different option instead of "getURL" that I should be using to create the link as an "Open a web link" action?
Thanks in advance for any assistance!
