Illustrator CS4 hierarchical menus
Illustrator CS4 hierarchical menus
- Subject: Illustrator CS4 hierarchical menus
- From: Alex Zavatone <email@hidden>
- Date: Tue, 14 Sep 2010 13:57:55 -0500
I've been running into an immense amount of joy trying to script Illustrator's hierarchical menus.
I'm sure what I'm running into is pilot error, but just in case it's not, is anyone able to use GUI scripting to invoke the "Scale..." menu item from the "Transform" menu in the "Object" menu in Illustrator?
I'm not having a problem telling Illustrator to click a non hierarchical menu.
tell application "System Events" click menu item 1 of menu 1 of menu bar 1 of process "Adobe Illustrator" end tell
Results in:
menu item "About This Mac" of menu "Apple" of menu bar item "Apple" of menu bar 1 of application process "Adobe Illustrator" of application "System Events"
Even the "Group" menu item in the "Object" menu works fine.
But getting to any object in the Transform menu seems to fail.
click menu item "Scale..." of menu item "Transform" of menu "Object" of menu bar 1 of process "Adobe Illustrator" click menu item 1 of menu item 1 of menu "Object" of menu bar 1 of process "Adobe Illustrator"
Yeah, I've checked the ellipsis.
Any ideas here?
TIA, - Alex |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden