Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!sif.claremont.edu From: dwright@sif.claremont.edu (Dan "(" Wright)) Newsgroups: comp.sys.mac.programmer Subject: Getting option-keystrokes w/out dead-key translation Keywords: dead keys Message-ID: <9084@jarthur.Claremont.EDU> Date: 12 Oct 90 21:57:26 GMT Sender: news@jarthur.Claremont.EDU Reply-To: dwright@sif.claremont.edu Organization: Harvey Mudd College Lines: 20 I'm currently working on a program in which I'm letting the user define option-key equivalents to various menu operations and as pseudo-macros. My program translates events into the ASCII equivalent (ie, opt-a -> a) using the system KCHR and KeyTrans. This works fine, except for one thing: the dead keys! Option-e, for example, does nothing, because the system is waiting for another key to be pressed, and when one is, it gets posted twice. The only way I can see around this problem would be to mess around with the KCHR resource, but this doesn't seems like a particularly healthy solution. Any ideas? If I have to mess with the KCHR, how would I do it? Is the KCHR format documented anywhere? Thanks in advance.. -Dan Wright ------------------------------------------------------------------------------- Dan Wright DWRIGHT@SIF Macintosh Systems Manager Internet: dwright@hmcvax.claremont.edu Harvey Mudd College, Claremont, CA Consider it disclaimed! -------------------------------------------------------------------------------