• 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: Writing a preference pane that configures hotkeys?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Writing a preference pane that configures hotkeys?
      • From: "Brian Kendall" <email@hidden>
References: 
 >Writing a preference pane that configures hotkeys? (From: "Brian Kendall" <email@hidden>)

  • Prev by Date: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Next by Date: Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Previous by thread: Writing a preference pane that configures hotkeys?
  • Next by thread: Re: Writing a preference pane that configures hotkeys?
  • Index(es):
    • Date
    • Thread