• 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: Global Shortcuts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Global Shortcuts (From: Florian Pilz <email@hidden>)
 >Re: Global Shortcuts (From: Eric Schlegel <email@hidden>)
 >Re: Global Shortcuts (From: Bavarious <email@hidden>)
 >Re: Global Shortcuts (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Proper way to create a singleton without @synchronized ?
  • Next by Date: Re: Proper way to create a singleton without @synchronized ?
  • Previous by thread: Re: Global Shortcuts
  • Next by thread: A very customized window
  • Index(es):
    • Date
    • Thread