Re: How can I not block hotkey from other apps
Re: How can I not block hotkey from other apps
- Subject: Re: How can I not block hotkey from other apps
- From: Andrew Farmer <email@hidden>
- Date: Tue, 24 Nov 2009 00:26:26 -0800
On 23 Nov 2009, at 07:17, Symadept wrote:
> I managed to get my app support for registering hotkeys and using it. But
> unfortunately if I register Cmd P as hot key in my app, no one in the system
> can use this hotkey to print unless I deregister it. How can I make it not
> block others.
If you don't want to make your hotkey active in all applications, RegisterEventHotKey is probably the wrong approach. Is there any specific reason you can't set this up as a menu keyboard shortcut, or by catching the event in -[NSApplication sendEvent:]?_______________________________________________
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