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

Click on extension pallet item using apple script

Engaged ,
Aug 04, 2021 Aug 04, 2021

My goal is to have illustrator run some cep commands daily while the computer is unmonitored.

For this my solution is to do an apple script that I can automate to click on the extensions pallet and then click on a button.  Is this possible?

 

I can get it to click on the program menu and bring up the extension pallet but how do I click on the actual button inside the pallet?  For example clicking on any of these:

Screen Shot 2021-08-04 at 8.15.38 PM.png

Any idea how I can accomplish this?

TOPICS
Scripting
303
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 Expert ,
Aug 05, 2021 Aug 05, 2021

Hi @OhmsG,

Another solution bypassing Applescript. You could regsiter an event handler in your CEP extension to execute the event handler that handles the button click. Now you can raise this event from a jsx present in the startup folder, so when Illustrator is launched the startup script will raise the event which will then be captured and button click handler executed by the cep extension. Give this a try, if it works it would be simpler than the Applescript solution you are investigating

-Manan

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
Engaged ,
Aug 05, 2021 Aug 05, 2021

Thank you do you have any documentation you can point me to on how to execute that?

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 Expert ,
Aug 06, 2021 Aug 06, 2021
LATEST
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