• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Illustrator CS4 hierarchical menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Illustrator CS4 hierarchical menus
      • From: Alex Zavatone <email@hidden>
    • Re: Illustrator CS4 hierarchical menus
      • From: Alex Zavatone <email@hidden>
    • Re: Illustrator CS4 hierarchical menus
      • From: Shane Stanley <email@hidden>
  • Prev by Date: InDesign CS4 Script Question
  • Next by Date: when is a global not a global?
  • Previous by thread: Re: InDesign CS4 Script Question
  • Next by thread: Re: Illustrator CS4 hierarchical menus
  • Index(es):
    • Date
    • Thread