Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > wonder how they capture the hot key

wonder how they capture the hot key
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 13, 2001, 03:16 PM
 
There are a few programs out there that allow you to define
short cut key (or hot key) for lauching other program.
Is there API provided by OSX to do these? I'm always curious
how those program can capture the key event when certains key
is pressed. I've been looking around and couldn't find
any info on this topic at all.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 13, 2001, 04:20 PM
 
I take it you mean like Snapz Pro X does (invokes when cmd-shift-3 is pressed). There is an API for doing so in Carbon. It needs your application to be running (faceless and in the background).
     
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 13, 2001, 11:48 PM
 
Thanks a lot of the info. What is the name of the API? Just
want to narrow down my search.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 14, 2001, 01:29 AM
 
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:53 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2