Key equivalent for services
Key equivalent for services
- Subject: Key equivalent for services
- From: Fraser Speirs <email@hidden>
- Date: Thu, 22 Nov 2001 08:59:26 +0000
I'm implementing a service in my app, and I'm wondering about the point
of adding a key equivalent for it. I mean I understand why I might want
one, but it's been my experience that the reliability of their operation
is kind of unpredictable. The only docs I could find on services were
in the 'Legacy' section of the Cocoa docs, and I figured it out from the
example in /Developer/Examples/AppKit/SimpleServce
What I mean by that is that often I'll try and hit cmd-= to define
something in OmniDictionary and it just won't work. Are key equivalents
for services masked by the same key equivalent in the current app? I'm
typing this in Mail at the moment and I can't find a menu item with a
cmd-= shortcut, yet I can't use that shortcut to define a word in
OmniDictionary.
How can I be sure that my key equivalent will work? What are the rules?
Thanks,
Fraser
--
Fraser Speirs
Department of Computing Science - University of Glasgow
Room G161, 17 Lillybank Gardens, Glasgow G12 8QQ
t: 0141 339 8855 ext.0917
e: email@hidden w: www.dcs.gla.ac.uk/~speirsfr