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

Set "Align to Artboard" and "Constrain Proportions" through JavaScript?

LEGEND ,
Jan 16, 2019 Jan 16, 2019

I would like to set "Align to Artboard" and "Constrain Proportions" using a JavaScript. Since I'm working with macros (Keyboard Maestro) and controlling Illustrator by a combination of "Interface" macros, AI Actions and Javascript I sometimes find these settings are are not toggled correctly. I don't believe they can be controlled in an Action. Can I set them in a Script?

TOPICS
Scripting
390
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
Adobe
Community Beginner ,
Sep 01, 2021 Sep 01, 2021
LATEST

I second this. It seems impossible to get illustrator to stick to 'align to artboard', even if the computer running our scripts does nothing else but run scripts. So it would be useful if the script itself could make sure these were toggled correctly.

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