Re: Global HotKey
Re: Global HotKey
- Subject: Re: Global HotKey
- From: Andy Lee <email@hidden>
- Date: Wed, 09 Feb 2011 02:20:02 -0500
On Feb 9, 2011, at 12:56 AM, Daniel Ketel wrote:
> Looks like I have to use Carbon and hope Apple will continue to support it.
> Thank you for your help.
You might be interested in Dave DeLong's Objective-C wrapper, called DDHotKey:
<https://github.com/davedelong/DDHotKey>
You might also be interested in a library called ShortcutRecorder, by Jesper at Waffle Software, which allows you to display an input field where the user can specify their choice of hotkey:
<http://code.google.com/p/shortcutrecorder/>
Both are pretty straightforward to use. DDHotKey comes with a demo. In addition, I wrote two trivial demo apps, which you can get here:
<http://www.notesfromandy.com/2010/08/01/intro-to-global-hotkeys/>
Note that my apps don't use the latest versions of DDHotKey and ShortcutRecorder. I haven't bothered to update them. Also, they don't build on Leopard -- I meant to fix that but haven't gotten around to it.
--Andy
_______________________________________________
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