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

How to set focus on "Fill" using Javascript.

LEGEND ,
Jan 05, 2021 Jan 05, 2021

As I was writing this question the answer dawned on me, so I'll answer it in case someone else is struggling with the same issue:

I was calling an AI Action to swap colors in a script. Problem was, if the "FILL" was not active the action failed. Then it dawned on me "Attribute Focus" might be added to the action. It worked: Set the "Fill" to active by recording a "click" on the Fill Swatch Icon:

rcraighead_1-1609884674769.png

 

rcraighead_0-1609884642630.png

 

TOPICS
Scripting
122
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
no replies

Have something to add?

Join the conversation
Adobe