• 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: Give a menu keyboard focus – in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Give a menu keyboard focus – in code


  • Subject: Re: Give a menu keyboard focus – in code
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 09 Oct 2011 23:02:41 -0700

On 2011 Oct 09, at 22:26, John Joyce wrote:

> For this reason, any menu item with a name can be assigned a keyboard shortcut in OS X System Preferences by the user.

Thank you, John, but it doesn't work for Status Items; not for me.

True, in System Preferences ▸ Keyboard ▸ Keyboard Shortcuts, I can create a keyboard shortcut for any menu item with a name in the *main* menu.  And the keyboard shortcut is even shown in that menu.  But it does not work for the menus attached to non-Apple Status Items.  For example, I have a Dropbox Status Item.  The first item in its menu is "Open Dropbox Folder".  I just assigned this the keyboard shortcut ⇧⌥⌘O.  But the keyboard shortcut "⇧⌥⌘O" is *not* showing in the Dropbox Status Item, and when I type ⇧⌥⌘O, all that happens is a system alert beep.

Actually, even if it did work, that's not what I want.  Because my status item's menu is populated dynamically, I want users to be able to navigate through it with the arrow keys, like I can do with the Apple Status Items after hitting the F8 key.

Maybe there is a reason why Apple does not want non-Apple Status Items to be accessible to non-mouse-users.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Give a menu keyboard focus – in code
      • From: Andy Lee <email@hidden>
    • Re: Give a menu keyboard focus – in code
      • From: Martin Hewitson <email@hidden>
References: 
 >Give a menu keyboard focus - in code (From: Jerry Krinock <email@hidden>)
 >Re: Give a menu keyboard focus - in code (From: Jerry Krinock <email@hidden>)
 >Re: Give a menu keyboard focus - in code (From: Jerry Krinock <email@hidden>)
 >Screen Coordinates of Menu. Use CTM? (was: Give menu keyboard focus) (From: Jerry Krinock <email@hidden>)
 >Re: Screen Coordinates of Menu. Use CTM? (was: Give menu keyboard focus) (From: Graham Cox <email@hidden>)
 >Give a menu keyboard focus – in code (From: Jerry Krinock <email@hidden>)
 >Re: Give a menu keyboard focus – in code (From: John Joyce <email@hidden>)

  • Prev by Date: Re: Screen Coordinates of Menu. Use CTM? (was: Give menu keyboard focus)
  • Next by Date: Re: Give a menu keyboard focus – in code
  • Previous by thread: Re: Give a menu keyboard focus – in code
  • Next by thread: Re: Give a menu keyboard focus – in code
  • Index(es):
    • Date
    • Thread