Suppose I have two bookmarks.
The First is Action->Execute a menu item->Go to apage in this document->Zoom level->Inherit Zoom
The Second is Action->Execute a menu item->Go to apage in this document->Zoom level->Fit Width
After securing a document (Encrypt with certificate or with password) the first action becomes blank.
My questions:
1. Why does the first action become blank and how to prevent it?
2. What is a script to set up 'Zoom level->Fit Width' by default in Acrobat 9 Pro?
3. What is a script to change all bookmarks with 'Zoom level->Inherit Zoom' to 'Zoom level->Fit Width'?
4. What is the best for me if I get my pdf from Word 2008 with hundreds bookmark and after securing the document all bookmarks do not work?
For example, what do you mean when you say the first action goes blank? Did your bookmarks stop working?
Unfortunately there is no easy way to use a script to change the zoom level on the bookmark destinations. This is possible, but you are talking about a complex advanced scripting task. It's be really nice if there was some easy feature for quickly modifying/customizing bookmarks through an automation script, but there isn't. the code is very round about and takes a good level of skill to develop.
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