Skip to main content
86164634
Participant
March 23, 2017
Question

Setting FitPage to all bookmarks with Javascript

  • March 23, 2017
  • 1 reply
  • 644 views

Hello! I am fumi.

I want to do zoom-setting named "FitPage" to all
bookmarks(include children) of some pdf files using Javascript + "Action
Wizard".
(I have "Acrobat DC pro".)

Could you show me sample codes of javascript for it?

I found some addin for acrobat,for example "Ever map",but,

I am looking for a method using javascriprt instead of addin.

Thank you.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 23, 2017

It's not possible to do that with JavaScript. You would need a plugin (like the one you found of Evermap), or a stand-alone application, like this one I've developed: Custom-made Adobe Scripts: Batch Edit Zoom Level in Bookmarks

86164634
86164634Author
Participant
March 23, 2017

Thank you for your quick reply and useful information.

But, because of my company's policy, I cannot use downloaded plugin tool...

I want to do that without plugin.

try67
Community Expert
Community Expert
March 23, 2017

The only way this can be done with JS is if the action associated with each bookmark is converted to a JS action that opens the page the bookmark is linking to and then sets the current zoom level to "Fit Page".