Re: Global Shortcuts
Re: Global Shortcuts
- Subject: Re: Global Shortcuts
- From: Bavarious <email@hidden>
- Date: Sat, 16 Apr 2011 18:57:59 -0300
On 16 Apr 2011, at 13:02, Eric Schlegel wrote:
> On Apr 16, 2011, at 2:59 AM, Florian Pilz wrote:
>
>> However the Carbon API for global shortcuts (RegisterEventHotKey) is
>> marked as 'Legacy'. I am not sure if thats the same as 'deprecated' in
>> Apple terms
>
> It's not.
>
>> So my question is: Is the Carbon API still the way to go?
>
> It is.
You may want to check Dave DeLong’s Cocoa wrapper for RegisterEventHotKey(), including block callbacks:
https://github.com/davedelong/DDHotKey
-- bavarious_______________________________________________
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