Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!cc.utah.edu!kofoid From: KOFOID@cc.utah.edu Newsgroups: comp.sys.mac.hypercard Subject: keyboard commands revisited Message-ID: <41399@cc.utah.edu> Date: 2 Feb 90 18:05:47 MDT Lines: 37 I recently posted the following letter, with *no* replies. However, several people wrote saying they want to know the answer. Can anybody help? ================ Hypercard, for some reason, does not allow the command or option keys to send standard trapable messages. Instead, the messages sent by these two keys bypass the entire Hypercard hierarchy and go directly to the program or the operating system. This makes it impossible to create keyboard command equivalents except by redefining the existing ones with an "on doMenu" handler. This is a limited solution and inelegant, as the existing commands are appropriate and should not be changed. Has anyone a solution to this problem, perhaps using an XCMD which traps the nonstandard messages? I don't want to use the control key message, as many Mac users still have the smaller Mac+ keyboards. I suspect that the prerelease versions of HyperCard *did* send standard commandKey and optionKey messages, as many of the earlier books - probably written from experience with beta versions - described them as such. A case in point is Dan Shafer's "HyperTalk Programming" (Hayden Books). Cheers, Eric. ================================================================== ][ Eric Kofoid ][ Internet: ][ ][ Department of Biology ][ BI.KOFOID%SCIENCE@UTAHCCA ][ ][ University of Utah ][ BitNet: ][ ][ S.L.C., Utah 84112 ][ BI.KOFOID@SCIENCE.UTAH.EDU ][ ==================================================================