Skip to main content
javablood
Known Participant
November 21, 2024
Question

javascript for zoom

  • November 21, 2024
  • 2 replies
  • 993 views

What happened to being able to run a javascript for zoom, e.g., zoom = 150 ; ? If I try to use this now with Adobe Pro, the option is to cancel or go to a page. I used to be able to highlight the bookmarks, select properties, and add the javascript. Even on older docs now, it is not working and for some reason the page level as a set zoom level, e.g., fit width, actual size, etc., that cannot be deleted to the javascript will run.

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
November 22, 2024

Often the right answer comes from abandoning the ‘wrong’ question.
In the document properties, set the document to open at 150%.
Then select all the bookmarks and use the ‘Inherit zoom’ option.

 

What's more, it will be more user-friendly for those who, for one reason or another (the size of their screen), don't want to always navigate at 150%.

Acrobate du PDF, InDesigner et Photoshopographe
javablood
javabloodAuthor
Known Participant
November 22, 2024

Thanks for the alternative.

PDF Automation Station
Community Expert
Community Expert
November 21, 2024

You don't have these options in the action tab of the bookmark properties?

 

javablood
javabloodAuthor
Known Participant
November 21, 2024

Thank you for yoour response. Yes, I do; however, it does not function as it used to function. See below. With the editor, I used to be able to apply the zoom to all the bookmarks. Even setting the initial view magnification to a certain level does not get applied to all the pages.

 

PDF Automation Station
Community Expert
Community Expert
November 21, 2024

If you want to add the script to all the bookmarks, you have to first select all the bookmarks.