• 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: Charles Srstka <email@hidden>
  • Date: Mon, 10 Oct 2011 12:23:43 -0500

On Oct 10, 2011, at 7:34 AM, Jerry Krinock wrote:

>
> On 2011 Oct 10, at 02:03, Martin Hewitson wrote:
>
>> 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.
>
> Thank you, Martin.  I have 7 non-Apple Status Items on my Mac account, and none of them are accessible via the F8 key.  However, you are correct.  I just installed iStat Menus from bjango.com and, indeed, its Status Items *are* accessible via F8.  Furthermore, instead of being appended to the left, they take priority over all the other non-Apple Status Items.  The right half of my menu bar looks like this:
>
>    |  Other Non-Apple Items  |  iStat Menu Items  |  Apple Items
>
> Apparently, bjango has figured out a trick that no one else has.  I wonder if it's "legal”?

It looks like they’re just using the private NSMenuExtra API. They’re probably using code injection to patch SystemUIServer to get around Apple’s protection to do so.

Not something I’d recommend.

Charles_______________________________________________

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

  • Prev by Date: Re: NSFont squashes my first two characters
  • Next by Date: Keeping grayscale image grayscale
  • 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