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