Re: Global Shortcuts
Re: Global Shortcuts
- Subject: Re: Global Shortcuts
- From: Florian Pilz <email@hidden>
- Date: Sun, 17 Apr 2011 10:55:31 +0200
@Eric: Thanks. In the meantime I saw that some methods have a
"deprecated" tag on their side, but not the method in question. :)
@Bavarious, Dave: I am a beginner, thus I want to try to achieve my
goals without wrappers and external libraries. But thanks.
Already have a working implementation, the Carbon methods fit perfectly.
2011/4/17 Dave DeLong <email@hidden>:
>
> On Apr 16, 2011, at 2:57 PM, Bavarious wrote:
>
>> 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
>
> +1 :)_______________________________________________
>
> 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
>
_______________________________________________
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