• 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
Re: Carbon Hotkeys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: splash screen
  • Next by Date: Re: Pseudo-tty as piped to NSTask -- help?
  • Previous by thread: Carbon Hotkeys
  • Next by thread: NSRunAlertPanel
  • Index(es):
    • Date
    • Thread