• 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: about keystrokes out of the window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about keystrokes out of the window


  • Subject: Re: about keystrokes out of the window
  • From: Andy Lee <email@hidden>
  • Date: Thu, 17 Mar 2011 09:07:42 -0400

Yes. Check out Dave DeLong's DDHotKey, which provides a convenient Cocoa wrapper:

    <https://github.com/davedelong/DDHotKey>

If you want users to be able to select their own hotkey, check out Jesper's Shortcut Recorder, which provides a convenient Cocoa control for this purpose:

    <http://code.google.com/p/shortcutrecorder/>

They both come with perfectly good examples, but I wrote my own examples anyway if you're interested:

    <http://www.notesfromandy.com/2010/08/01/intro-to-global-hotkeys/>

--Andy

On Mar 17, 2011, at 1:22 AM, Jonathan Chacón Barbero wrote:

> Hello,
>
> thanks for your answer.
>
> I'm developing using Cocoa because I want to develop an accessible app. I didn't know Carbon Event Manager. I'll study it but Can I use it in a Cocoa application?
>
> thanks and regards
> 	Jonathan Chacón
>
> El 17/03/2011, a las 06:15, Nick Zitzmann escribió:
>
>>
>> On Mar 16, 2011, at 10:56 PM, Jonathan Chacón Barbero wrote:
>>
>>> I want to develop an application that the user can manage it using some keystrokes but the user can use these keystrokes when the window of the application is not focused.
>>> For example, my app is opened and the user is writing in pages. The user can activate a feature of my application pressing  caplocks+left arrow.
>>> How can I do this? I searched abut managing keystrokes for Mac OSX but I didn't find anything about this.
>>
>> Have you tried the hotkey functions in the Carbon Event Manager?
>>
>> Nick Zitzmann
>> <http://www.chronosnet.com/>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: about keystrokes out of the window
      • From: Jonathan Chacón Barbero <email@hidden>
References: 
 >about keystrokes out of the window (From: Jonathan Chacón Barbero <email@hidden>)
 >Re: about keystrokes out of the window (From: Nick Zitzmann <email@hidden>)
 >Re: about keystrokes out of the window (From: Jonathan Chacón Barbero <email@hidden>)

  • Prev by Date: Re: Master Detail
  • Next by Date: Re: about keystrokes out of the window
  • Previous by thread: Re: about keystrokes out of the window
  • Next by thread: Re: about keystrokes out of the window
  • Index(es):
    • Date
    • Thread