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

Illustrator JS script to open and close a panel

New Here ,
Jan 21, 2025 Jan 21, 2025

How would I open and close the Variables panel using JavaScript? Looking at the JavaScript Object Reference, I can't figure it out at all. I thought there might be something like app.panels, but it doesn't seem like there is.

TOPICS
Scripting
229
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

Enthusiast , Jan 21, 2025 Jan 21, 2025

It can be achieved with this way. The behavior is a toggle.

app.executeMenuCommand('Adobe Variables Palette Menu Item') ;
Translate
Adobe
Enthusiast ,
Jan 21, 2025 Jan 21, 2025
LATEST

It can be achieved with this way. The behavior is a toggle.

app.executeMenuCommand('Adobe Variables Palette Menu Item') ;
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