Global Shortcuts
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