[comp.sys.mac.programmer] Command keys for DAs.

jmunkki@kampi.hut.fi (Juri Munkki) (01/12/89)

In article <6229@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes:
>However, you can put a menu shortcut key into a DA.  Just put the magic
>menu manager metacharacters into the DA resource name.  Then when the
>application does an AddResMenu, the shortcut will appear normally in
>the apple menu.  As long as it doesn't conflict with an application
>shortcut, it will work just fine.  (Disclaimer: I haven't actually
>done this.)

I think that I tried that once and the problem is that applications
open desk accessories by getting the string from the menu. That string
no longer contains the slash and the character for the key, so the
DA can't open the DA after all. Suitcase is a special case, since
it intercepts DA calls anyway.

_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
|     Juri Munkki jmunkki@hut.fi  jmunkki@fingate.bitnet        I Want   Ne   |
|     Helsinki University of Technology Computing Centre        My Own   XT   |
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~