Re: Give a menu keyboard focus – in code
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