Re: Writing a preference pane that configures hotkeys?
Re: Writing a preference pane that configures hotkeys?
- Subject: Re: Writing a preference pane that configures hotkeys?
- From: Andrew Farmer <email@hidden>
- Date: Sun, 23 Mar 2008 19:34:16 -0700
On 23 Mar 08, at 19:26, Brian Kendall wrote:
I'm trying to write a preference pane that allows the user to
specify a hotkey. Ordinarily I would override sendEvent in
NSApplication, but since it's a preference pane that's not possible
in this case since the System Preferences application is already
instantiated. Obviously this is possible, since many other
preference panes do this, including the Keyboard & Mouse pref pane.
What's the propper way to go about doing this?
Create a helper app that runs in the background. Preference panes only
"exist" while they're open, so registering a hotkey there doesn't do
you much good.
_______________________________________________
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