Re: about keystrokes out of the window
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