• 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
global shortcuts (was Re: (no subject))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Animating control position
  • Next by Date: Re: Problem cancelling lengthy task in secondary thread
  • Previous by thread: (no subject)
  • Next by thread: Closing Distributed Object connections
  • Index(es):
    • Date
    • Thread