I wrote in Acrobat a script to automatically add links inside a pdf.
The part of the script doing this looks like:
l = addLink(0, x1, y1, x2, y2);
l.setAction("this.getURL('http://my-url.tld/')");
The problem is that I must have that link in the form of a Weblink not a simple link.
The action attached to the link has to be "Open a web link" with "http://my-url.tld/" as parameter
Instead of "Run a Javascript" with "this.getURL('http://my-url.tld/');" as parameter
Anyone could give me help?