Copy link to clipboard
Copied
Hello, I'm needing help with how to perform an action on a PDF where it will change the action to open a web link to run a JavaScript to use the url bit, put app.launchURL(" infront of it and then ",true); after it.
I think the code would be something like
for each link in document
read in URL
Store URL
delete open a web link
create run a JavaScript
make the JavaScript = app.launchURL("URL",true);
display message saying ta dah!!
I'm not sure where to start with the scripting as I can't find a page that is helping to give an introduction. I'm okay with VBA but like I say not sure where to start with Adobe, any help would be much appreciated
Thank you
I've developed a (paid-for) stand-alone tool that does exactly that. You can find it here:
http://try67.blogspot.com/2011/07/convert-all-links-in-pdf-to-open-in-new.html
Just to clarify, you can't do it using a script in Acrobat. It requires a stand-alone tool, or maybe a plugin.
Copy link to clipboard
Copied
This is possible when you create a plugin written in C/C++.
Copy link to clipboard
Copied
I've developed a (paid-for) stand-alone tool that does exactly that. You can find it here:
http://try67.blogspot.com/2011/07/convert-all-links-in-pdf-to-open-in-new.html
Just to clarify, you can't do it using a script in Acrobat. It requires a stand-alone tool, or maybe a plugin.
Copy link to clipboard
Copied
thanks so much for getting back to me. It would explain why I couldn't find examples of how to do this sort of stuff 🙂
I'll take a look at the stand alone converter to resolve it thanks
thanks again 🙂