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

Toggle to "Full Screen Mode" using Javascript?

LEGEND ,
Apr 02, 2019 Apr 02, 2019

For a specific task I'd like to toggle to "Full Screen Mode" between scripts. I can use "F" to toggle between modes, but I won't know what mode the user is currently in so I won't know how many times to press "F". I don't see "Full Screen Mode" listed in the "do Menu Item" list (probably because it's not a menu item). Is this scriptable (Javascript)?

TOPICS
Scripting
952
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 , Apr 02, 2019 Apr 02, 2019

rcraighead  schrieb

… Is this scriptable (Javascript)?

Yes.

app.documents[0].views[0].screenMode = ScreenMode.FULLSCREEN;

Have fun

Translate
Adobe
Community Expert ,
Apr 02, 2019 Apr 02, 2019

rcraighead  schrieb

… Is this scriptable (Javascript)?

Yes.

app.documents[0].views[0].screenMode = ScreenMode.FULLSCREEN;

Have fun

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
LEGEND ,
Apr 02, 2019 Apr 02, 2019
LATEST

Thank you, pixxxel, I had missed that section in the scripting guide.

Scripting Constants — Illustrator Scripting Guide 0.0.1 documentation

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