Re: System Events scripting of Finder window
Re: System Events scripting of Finder window
- Subject: Re: System Events scripting of Finder window
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 18 Mar 2007 06:50:51 -0400
- Thread-topic: System Events scripting of Finder window
on 2007-03-17 8:03 PM, David Marshall at email@hidden wrote:
> It took me a long time to figure the menu item numbering out, but I
> think it works this way: separators count as menu items, as do
> context-specific variants of a given command. So, in the case in
> question, "as Icons," "as List," and "as Columns" are menu items 1, 2
> and 3; the separator is item 4; "Clean Up" and "Clean Up Selection"
> are 5 and 6, and "Arrange" [Panther] / "Arrange By" [Tiger] is menu
> item 7.
>
> Although UIElementInspector sometimes makes the otherwise-inscrutable
> into the barely scrutable, I also find that digging down through the
> element tree a layer at a time via Script Editor and the Event Log
> can be surprisingly revealing.
AppleScript index numbers for menu items are shown correctly for all menu
items at once in PreFab UI Browser. This includes Option-down variants (and
their names), even when the Option key is not being held down.
--
Bill Cheeseman - email@hidden
PreFab Software, Inc. - prefabsoftware.com
_______________________________________________
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