Copy link to clipboard
Copied
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:
Any idea how I can accomplish this?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thank you do you have any documentation you can point me to on how to execute that?
Copy link to clipboard
Copied
See the following article for an example of what I said
-Manan
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more