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 > Cocoa hotkeys?

Cocoa hotkeys?
Thread Tools
parallax
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Jan 7, 2002, 11:42 AM
 
Any way to do something like RegisterEventForHotKey in Cocoa so we can use hotkeys in Cocoa?

If not, has anyone had success calling the carbon from cocoa (I doubt it), or some sort of low-level hack?
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jan 11, 2002, 03:41 PM
 
There is no Cocoa hotkey API. Why do you doubt people have had success calling Carbon from Cocoa? Lots of applications do it! After all, Carbon is just another C library. OTOH, there are some issues with carbon events in Cocoa applications, I think.
     
parallax  (op)
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Jan 11, 2002, 11:57 PM
 
I doubt it for that reason

You prolly have to use the Carbon event model just to get that to work.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jan 12, 2002, 07:59 AM
 
The only thing you can do is file a radar requesting an equivalent API in Cocoa.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 10:20 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,