Skip to main content
Known Participant
Jul 21, 2017 2:11 PM UTC
Answered

Can you change document properties with JS?

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 is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Jul 21, 2017 2:56 PM UTC

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.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Jul 21, 2017 2:56 PM UTC

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.

Translate
Known Participant
Jul 21, 2017 2:58 PM UTC

Thanks.

Translate