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

Global Shortcuts


  • Subject: Global Shortcuts
  • From: Florian Pilz <email@hidden>
  • Date: Sat, 16 Apr 2011 11:59:00 +0200

I am searching for the 'modern' way to define global shortcuts. I
searched for it and found all over the web, that the old Carbon API
should be used, because it's way more convenient than using NSEvent.

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, since all people on the web say the Carbon API should be
used as long as it is not marked as deprecated. So my question is: Is
the Carbon API still the way to go? If not, is there a better way
rather using NSEvent where I must handle (and filter) any event thrown
by the system?

Best wishes
Florian
_______________________________________________

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: Global Shortcuts
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Re: Appending CGPath to CGPath
  • Next by Date: A very customized window
  • Previous by thread: Re: Appending CGPath to CGPath
  • Next by thread: Re: Global Shortcuts
  • Index(es):
    • Date
    • Thread