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

Edit Multiple Button Properties at once

meade
Registered: Oct 22 2009
Posts: 2

Hello. I have a single PDF with over a hundred buttons. Each button has a unique URL action. I'm looking for a way to globally change the start of each URL. I'm moving the linked files to another server and I want to be able to point each link to this new server. Is there any way to do this other than modify each and every button? Thanks

My Product Information:
Acrobat Pro 9.1.3, Macintosh
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, all the URLs used in the "Open a Weblink" action can be relative to the PDF's BaseURL property. Take a look in the "Advanced" tab of the Document Properties Dialog.

For example, it the BaseURL is set to: http://www.adobe.com/devnet/

, and the weblink action is it to: acrobat/javascript

Then when the user pressed the button the

http://www.adobe.com/devnet/acrobat/javascript

page will open. And the really cool part is that the "baseURL" property can be changed dynamically with a script.

Of course to start using the methodology you'll have to redo all of your links. There are some 3rd party tools out there that might help, take a look at www.artspdf.com and www.evermap.com

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script