Skip to main content
86164634
Participant
Mar 23, 2017 8:23 AM UTC
Question

Setting FitPage to all bookmarks with Javascript

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

try67
Community Expert
Community Expert
Mar 23, 2017 9:11 AM UTC

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

Translate
86164634
86164634Author
Participant
Mar 23, 2017 9:58 AM UTC

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.

Translate
try67
Community Expert
Community Expert
Mar 23, 2017 10:04 AM UTC

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

Translate