• 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
Re: System Events scripting of Finder window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: System Events scripting of Finder window (From: David Marshall <email@hidden>)

  • Prev by Date: Re: System Events scripting of Finder window
  • Next by Date: Re: Dumb performance question: tell blocks
  • Previous by thread: Re: System Events scripting of Finder window
  • Next by thread: Re: System Events scripting of Finder window
  • Index(es):
    • Date
    • Thread