I want to run an Acrobat Javascript inside of Adobe Acrobat. In that script I want to create a link annotation.
This can be done easily enough, but using the "addLink" function in the document object, but this type of link only works with a Javascript action. In other words, when the link is clicked, a piece of Javascript is executed by Acrobat to jump to a new location or URL.
This is not what I want, what I want is to create a Link annotation that contains a simple URL, and not an action Javascript.
Is this possible using the Adobe Acrobat API? And if so, how?
(please don't suggest using a plug-in, I know about Acrobat plug-ins but that's not what I'm looking for right now).