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

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

  • Follow-Ups:
    • Re: Global HotKey
      • From: Dave DeLong <email@hidden>
References: 
 >Global HotKey (From: Daniel Ketel <email@hidden>)
 >Re: Global HotKey (From: Shazron Abdullah <email@hidden>)
 >Re: Global HotKey (From: Daniel Ketel <email@hidden>)

  • Prev by Date: Re: Global HotKey
  • Next by Date: Re: Global HotKey
  • Previous by thread: Re: Global HotKey
  • Next by thread: Re: Global HotKey
  • Index(es):
    • Date
    • Thread