Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!comp.vuw.ac.nz!windy!sramtrc From: sramtrc@windy.dsir.govt.nz Newsgroups: comp.sys.mac.programmer Subject: After Dark 2.0 misses some events - fix required Message-ID: <18799.278d2bd7@windy.dsir.govt.nz> Date: 11 Jan 91 03:07:03 GMT Reply-To: sramtrc@albert.dsir.govt.nz Organization: DSIR, Wellington, New Zealand Lines: 26 How do I let After Dark know about foreign events? There are some events that After Dark 2.0 does not recognise and these events should cause AD to return to the Finder if it is screensaving or delay the jump to screensaving if it is already in the Finder. I can detect these events with software. My question is - how can I tell AD that one has occurred? These events are non MacOS events which is why AD cannot recognise them. So I need to somehow run a task that watches for my events (the task is not allowed to hog the machine yet it must not miss an event - I don't know how to do that), it must convert the event to one that AD recognises (what is the best one?) and/or let AD know that this event has occurred or whatever it takes to set AD's timer. The actual problem is that AD misses A/UX events such as keystrokes. So I can be typing away and the screensaver starts up on me. I'm looking for a quick hack to fix it because I like AD. Thanks, Tony Cooper sramtrc@albert.dsir.govt.nz (replies to me please because if you post them and don't use distribution "world" I won't see them. Many postings have distribution "usa" which is not the same as the world)