Re: Global hotkeys
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