Article View: comp.sys.mac
Article #15867Detecting Quits.
From: Andrew Betzis
Date: Thu, 30 Apr 1987 14:19
Date: Thu, 30 Apr 1987 14:19
22 lines
1156 bytes
1156 bytes
Nosy-ing the following three programmes, the following ways were used to
detect applications quiting, all reassigned traps:
SkipFinder (DA) = BlockMove (detected a BlockMove of FinderName -> CurAppName
).
Locator (DA) = ExitToShell
Launch (FKEY) = CloseResFile (detected when refNum = CurApRefNum)
The question is: Is there a standard way of detecting Application exits ?
The root of the problem is to be able to re-Trap quits.
Smile & Thanks,
Andrew Betzis.
ACSnet: betz@runx.ips.oz JANET: runx.ips.oz!betz@ukc
ARPA: betz%runx.ips.oz@seismo.css.gov CSNET: betz@runx.ips.oz
UUCP: {enea,hplabs,mcvax,prlb2,seismo,ubc-vision,ukc}!munnari!runx.ips.oz!betz
Technical Details
Message-ID:
<850@runx.ips.oz>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!munnari!moncskermit!basser!metro!ipso!runx!betzShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!munnari!moncskermit!basser!metro!ipso!runx!betz From: betz@runx.ips.oz (Andrew Betzis) Newsgroups: comp.sys.mac Subject: Detecting Quits. Message-ID: <850@runx.ips.oz> Date: Thu, 30-Apr-87 10:19:14 EDT Article-I.D.: runx.850 Posted: Thu Apr 30 10:19:14 1987 Date-Received: Sun, 3-May-87 05:47:29 EDT Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 21