Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mohkhasa

macrumors newbie
Original poster
Feb 14, 2023
1
0
Hello,

How can I write AppleScript to communicate with Adobe Illustrator using "executeMenuCommand" (javascript command)?

I tried:
tell application "Adobe Illustrator" do JavaScript "app.executeMenuCommand("Expand3");" end tell
but it doesn't work, I get syntax error.

Appreciate your help, and thanks in advance
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.