• 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: HotKeys in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HotKeys in Cocoa


  • Subject: Re: HotKeys in Cocoa
  • From: Matthew Formica <email@hidden>
  • Date: Mon, 19 Aug 2002 13:58:30 -0700

In Mac OS X version 10.2, the Carbon HotKey API was fixed to work out of the
box in Cocoa. Someday we expect to have a Cocoa hotkey API for real as
well. In the meantime, the Carbon HotKey API does work (do exactly what you
would do in Carbon). Some people have hacked their Cocoa apps to get the
Carbon API working prior to 10.2, but it's more work.

- Matthew

--

Matthew Formica
DTS Engineer - Developer Tools and Cocoa
Apple Computer, Inc.
email@hidden

Mac OS X Development Tools:
http://developer.apple.com/tools/
Project Builder on the web:
http://developer.apple.com/tools/projectbuilder/
Project Builder FAQ:
http://developer.apple.com/tools/projectbuilder/faq.html
Cocoa docs on the web:
http://developer.apple.com/techpubs/macosx/Cocoa/CocoaTopics.html
Cocoa sample code:
http://developer.apple.com/samplecode/Sample_Code/Cocoa.htm


On 8/19/02 11:10 AM, "Alexandre Aybes" <email@hidden> wrote:

> Hi all,
>
> I have searched the archives of cocoa-dev (thanks to Mamasam
> [http://cocoa.mamasam.com]!) and found quite a few posts, but
> not the aswers I am looking for.
>
> - HotKeys from cocoa, my understanding is that there is a Carbon
> API, but it doesn't really work from Cocoa (anyone successful in
> using it from Cocoa?) And I read that some people had written
> cocoa wrappers for the Carbon api, where can I find one?
> - I also read at one point that there is a (private) api in
> CoreGraphics (IIRC) that allows you to do that, can anyone
> comment on that? Because I can't find that post anymore.
>
> And in short, is *anyone* using hotkeys from a Cocoa app
> successfully, and if so, how?
>
> Any pointer, idea, source code (anything) would be greatly appreciated!
>
>
> Thanks a lot!
> Alex.
>
> [SPAM]: Check out SearchBar, for easy and fast access to your
> favorite search engines (google, Apple Dev Doc, Mamasam,
> Versiontracker and more!):
> http://www.pommsoft.com/searchbar/SearchBar0.3.dmg.gz
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: HotKeys in Cocoa
      • From: email@hidden
    • Re: HotKeys in Cocoa
      • From: Alexandre Aybes <email@hidden>
References: 
 >HotKeys in Cocoa (From: Alexandre Aybes <email@hidden>)

  • Prev by Date: Re: Set the bold style in an attributedstring
  • Next by Date: Re: Saving ruler markers to defaults
  • Previous by thread: HotKeys in Cocoa
  • Next by thread: Re: HotKeys in Cocoa
  • Index(es):
    • Date
    • Thread