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

Re: Global hotkeys


  • Subject: Re: Global hotkeys
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 15 Sep 2004 21:12:44 -0700

Don, you probably want to use the Carbon HotKey API. There may be an Obj-C wrapper out there somewhere, but it shouldn't be too hard to write one yourself. The biggest obstacle for non-Carbon programmers will be getting the concept of installing a Carbon Event callback down. Search the Apple documentation for "RegisterEventHotKey".

Daniel

On Sep 15, 2004, at 8:20 PM, Don Smith wrote:

Is there any way to get global hotkeys without a service? I would like to give the user preferences so I don't think I want a service, also I would like to let the user define the key combinations. I realized that desktop manager may be doing it by injecting code into the dock, thus always being a frontmost application. Is this true? If not I guess i'm having a hard time wrapping my head around the desktop manager code. Other than it, is there any other open source app I can look at that can tell me how to do global hotkeys?

Thanks

Don Smith

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Global hotkeys
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Global hotkeys (From: Don Smith <email@hidden>)

  • Prev by Date: Determining which SDK I'm compiling against
  • Next by Date: Re: Determining which SDK I'm compiling against
  • Previous by thread: Re: Global hotkeys
  • Next by thread: Re: Global hotkeys
  • Index(es):
    • Date
    • Thread