Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can you change document properties with JS?

Community Beginner ,
Jul 21, 2017 Jul 21, 2017

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

TOPICS
Acrobat SDK and JavaScript , Windows
677
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 21, 2017 Jul 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.

Translate
Community Expert ,
Jul 21, 2017 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 21, 2017 Jul 21, 2017
LATEST

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines