Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!mountn.dec.com!emass1.enet.dec.com!domenikos From: domenikos@emass1.enet.dec.com (George Domenikos) Newsgroups: comp.sys.mac.system Subject: How can I get an Init using the GNEfilter method to process keyboard events instantaneously? Message-ID: <1897@mountn.dec.com> Date: 1 Sep 90 01:38:06 GMT Sender: news@mountn.dec.com Organization: DTC Lines: 31 Hi there, I am having an INIT that installs its self successfully and is using the GNEfilter method to look for events such as keyboard and perform certain action when a certain key sequence is pressed. Question how can I get my INIT to process events immediatelly? It seems that when I am compiling or linking something using MPW the events are queued and the GNEfilter processes the events after the compiling or linking is done. How can I have instantaneous action all the time and not some times? For example I have seen ScreenDumper applications doing that. They can jump into the screendumper routine any time you press for instance shift-command-3 or whatever and they do not wait for a long compile or link to finish first. HOW CAN I GET INSTANTANEOUS RESPONSE FROM THE GNE FILTER? Do I have to install a VBL task for that that checks for Events all the time and if a certain key is pressed can jump into my routine and performed the desired action? Do I have perhaps to raise the interrupt priority of the GNEfilter and how can I do it? Any help in the subject will be appreciated! Thanks in advance george domenikos