Re: Carbon Hotkeys
Re: Carbon Hotkeys
- Subject: Re: Carbon Hotkeys
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 12 Sep 2003 13:25:12 -0400
on 03-09-12 10:31 AM, Miguel Nunes Correia at email@hidden wrote:
>
I found a sample code from Apple that gives an hotkey to an application.
>
>
------
>
#include <Carbon/Carbon.h>
>
>
const UInt32 kMyHotKeyIdentifier='folw';
>
const UInt32 kMyHotKey = 36; //the return key
>
------
>
>
This is for Cmd+Return and i would like to make it work with
>
Cmd+Ctrl+Shift+Delete.
I believe the Apple sample code for UI Element Inspector includes the
necessary code to use modifier keys. Version 1.1 of this sample code was
released only a few weeks ago.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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: | |
| >Carbon Hotkeys (From: Miguel Nunes Correia <email@hidden>) |