These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How do I open a web link and use PDF elements as arguments?

johnnyLikeAdobe
Registered: Oct 28 2008
Posts: 9

Hi, I have a button. I wanted to use Open A Web Link for the action but I don't know that I can put arguments from the document in there. So, I am using JavaScript.

I want to call a web page and pass the name of my current pdf as part of the querystring. I need a link like this:

http://myserver/mydirectory/myfile.aspx?paperno=TheNameOfMyOpenedPDF

Thank you for any help. Can that be done without JavaScript? How would I do it with JavaScript.

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Look into using the doc.getURL or app.launchURL methods.

George