global shortcuts (was Re: (no subject))
global shortcuts (was Re: (no subject))
- Subject: global shortcuts (was Re: (no subject))
- From: "M. Uli Kusterer" <email@hidden>
- Date: Thu, 30 Oct 2003 14:12:12 +0100
At 11:26 Uhr -0500 29.10.2003, Matt Zollinhofer wrote:
I know there is a way, because I have a couple programs that do it,
Synergy and Searchling for instance, to create global keyboard
shortcuts. But I don't know to how to go about doing it.
There's a Carbon API to do this. It's named something with "HotKey".
If you want a sample, on my web site there's a small C++/Carbon app
that's called "RunForestRun" that uses this. It's in the
"programming" section, I think.
Of course, you can just mix the appropriate Carbon API calls as
straight C code into your ObjC code, no need to go C++.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: Matt Zollinhofer <email@hidden>) |