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
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