Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site tmq.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!tmq!darin From: darin@tmq.UUCP (Darin Adler) Newsgroups: net.micro.mac Subject: Re: Re: Megaroids problems (editing menus) Message-ID: <190@tmq.UUCP> Date: Mon, 27-May-85 17:38:58 EDT Article-I.D.: tmq.190 Posted: Mon May 27 17:38:58 1985 Date-Received: Thu, 30-May-85 00:11:22 EDT References: <546@water.UUCP> <400@cmu-cs-k.ARPA> <2742@nsc.UUCP> Organization: tmq/ICOM Buffalo Grove, IL Lines: 22 > >There is no reason to expect to be able to attach keyboard equivalents to > >arbitrary menu items. If a keyboard equivalent exists for an item, then you > >will likely be able to change it to a different key, but if no key binding > >exists for an item, then there is no assurance that there is code to handle > >such a binding. > > The way the command key code is usually written, if the program will > support ANY command key, it will support them all, and you can add what you > want with the resource editor (assuming the menus are in resources, of > course). If the program doesn't support any command keys, then chances are > that the code isn't there and even if you do add them to the menu's they'll > be ignored. That is a silly thing to do, since the code involved is rather > trivial... > This "silly thing" is done by MacWrite (at least a bit). When a document is not open, no keyboard equivalents work (in the File menu). This means, for example, that adding a Q for Quit will not work. This is true (at least) in versions 2.2 and 4.5 . (Quite annoying :-) Darin Adler ihnp4!tmq!darin