• 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: User-defined global hotkeys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User-defined global hotkeys


  • Subject: Re: User-defined global hotkeys
  • From: Jean Le Clerc <email@hidden>
  • Date: Tue, 14 Jun 2005 21:15:24 -0400

Thanks for the answer - and the clarification... I think I'll just go with my own interface for the setup...

Thanks!

On Jun 14, 2005, at 11:31 AM, Daniel Jalkut wrote:


On Jun 14, 2005, at 3:03 AM, Jean Le Clerc wrote:

2) can I, somehow, use these to automatically "register" my service's shortcuts? If so, how would I go about that?

I don't think so. You would have to have a menu item at all times that matched the keyboard shortcut you are defining. Is this the case? If so then the user can set a shortcut but it is, in my opinion, a clunky way of defining shortcuts because the user has to get the menu title exactly right, etc.


3) if I have to re-create a GUI to save the keyboard shortcuts in _my_ preference pane, am I to understand that the only key- modifiers allowed are command-shift?

That's a misunderstanding. You can also use control and option, and starting in 10.3, you can choose to use no modifiers at all. You're going to want to use the Carbon RegisterEventHotKey mechanism. If you search the archives you'll see that some people have Cocoa-wrappers for this.


Daniel



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >User-defined global hotkeys (From: Jean Le Clerc <email@hidden>)
 >Re: User-defined global hotkeys (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: xcode-->java-->cocoa - how long? how many?
  • Next by Date: Re: Typo In NSPersistentDocument Core Data Tutorial?
  • Previous by thread: Re: User-defined global hotkeys
  • Next by thread: Re: User-defined global hotkeys
  • Index(es):
    • Date
    • Thread