Re: User-defined global hotkeys
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