Article View: comp.sys.mac
Article #18080Re: article about jGNEFilter in MacTuto
From: kkim
Date: Wed, 12 Aug 1987 14:19
Date: Wed, 12 Aug 1987 14:19
23 lines
1745 bytes
1745 bytes
> /* Written Aug 11, 1987 by tim@hoptoad.uucp in uiucdcsb:comp.sys.mac */
> you never need to patch GetNextEvent or intercept it in any case, since you
> can always do whatever extra processing is needed normally inside your main
> event loop... Don't ever patch a trap unless you absolutely have to!
my main objective is to modify event queue elements within a DESK ACCESSORY
so that an application can retrieve modified keydown events. somebody
suggested me to use NGetTrapAddress/NSetTrapAddress. i looked up the Inside
Mac but could not figure how to patch GetNextEvent using these two traps.
then i posted a question on comp.sys.mac how to patch GetNextEvent and
somebody suggested to use jGNEFilter saying that there was an article about it
in MacTutor. that is my story.
therefore, if i can modify keydown events within a desk acc without patching
GetNextEvent, i will be happy to hear the method. if i have to patch, i
would like to know how to patch it (probably using these two traps).
thanks.
Kyongsok KIM
arpanet/csnet: kkim@a.cs.uiuc.edu
usenet/uucp : {seismo, pur-ee, ihnp4}!uiucdcs!kkim
Technical Details
Message-ID:
<164500043@uiucdcsb>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-hermes!iuvax!pur-ee!uiucdcs!uiucdcsb!kkimReferences:
<164500042@uiucdcsb>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!mit-hermes!iuvax!pur-ee!uiucdcs!uiucdcsb!kkim From: kkim@uiucdcsb.cs.uiuc.edu Newsgroups: comp.sys.mac Subject: Re: article about jGNEFilter in MacTuto Message-ID: <164500043@uiucdcsb> Date: Wed, 12-Aug-87 10:19:00 EDT Article-I.D.: uiucdcsb.164500043 Posted: Wed Aug 12 10:19:00 1987 Date-Received: Sat, 15-Aug-87 07:49:37 EDT References: <164500042@uiucdcsb> Lines: 23 Nf-ID: #R:uiucdcsb:164500042:uiucdcsb:164500043:000:1120 Nf-From: uiucdcsb.cs.uiuc.edu!kkim Aug 12 09:19:00 1987