Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!mountn.dec.com!minow From: minow@mountn.dec.com (Martin Minow) Newsgroups: comp.sys.mac.programmer Subject: Re: Masking Modified Characters Message-ID: <1857@mountn.dec.com> Date: 16 Aug 90 14:23:50 GMT References: <3903@husc6.harvard.edu> Reply-To: minow@bolt.enet.dec.com.UUCP (Martin Minow) Organization: Digital Equipment Corporation Lines: 16 In article <3903@husc6.harvard.edu> siegel@endor.UUCP (Rich Siegel) writes: >How does one avoid getting option-generated characters when using >GetNextEvent? >For example, when I type Command-Option-P, I'll an event which tells me I've >typed Command-Option-pi, and I'm more interested in what the unmodified >character was. Is there a standard mask for turning modified characters into >standard ones, or is there some other hack? Hi Rich. You won't like this answer: I "solved" the problem by building my very own hack KCHR resource that had no option tables. You have to make sure you switch back to the original KCHR when your application exits (or multifinder switches). This is definately a "kids, don't try this at home" trick; send me mail if you want the code. Martin. minow@bolt.enet.dec.com