• 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: Martin Hewitson <email@hidden>
  • Date: Mon, 10 Oct 2011 05:03:48 -0400

I haven't been following this thread closely, so I may be talking about the wrong thing here, but I just noticed I can cycle through the status items, and some of them (e.g. istat menus and apple items) are selectable with ctrl-f8 then arrow keys, and some not (e.g. dropbox). So it seems like it's possible, in principle. Don't know if that helps.

Martin


On Oct 10, 2011, at 02:02 AM, Jerry Krinock wrote:

>
> 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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

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: Jerry Krinock <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>)
 >Re: Give a menu keyboard focus – in code (From: Jerry Krinock <email@hidden>)

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