Skip to main content
Known Participant
July 21, 2017
Answered

Can you change document properties with JS?

  • July 21, 2017
  • 1 reply
  • 722 views

Hi all,

I have a script for adding layers that works perfectly. However, after executing this script I want to change the document properties to "fit page" and "show layers panel". Is there a way to set the navigation tab, page layout, and magnification using a script (under File>Properties>Initial View)? I know you can set those as your default in acrobat, but this script will be used by others who may not have that as their default, hence why I want to include it in my script.

Thanks

This topic has been closed for replies.
Correct answer try67

No, these settings can't be changed using a script.

You can embed a script to force the Fit Page zoom level when the file is opened, but not the Layers panel.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
July 21, 2017

No, these settings can't be changed using a script.

You can embed a script to force the Fit Page zoom level when the file is opened, but not the Layers panel.

Known Participant
July 21, 2017

Thanks.