home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!decwrl!apple!mumbo.apple.com!tom_klein@magic-bbs.corp.apple.com
- From: tom_klein@magic-bbs.corp.apple.com
- Newsgroups: comp.sys.mac.programmer
- Subject: trapping system events
- Message-ID: <1993Jan23.121255.446196@magic-bbs.corp.apple.com>
- Date: 23 Jan 93 17:12:55 GMT
- Article-I.D.: magic-bb.1993Jan23.121255.446196
- Distribution: na
- Organization: Macintosh Awareness Group In Canada
- Lines: 19
-
- i need some tips on how to intercept certain system events. in order to keep
- track of documents, i want to know when:
-
- 1) an existing document is opened
- 2) a new, untitled document is created
- 3) a document's window is brought to the foreground (which implies that
- everybody else isn't)
- 4) a document is closed.
-
- and all of this from *other* applications than my own (my stuff "lives" in
- a system extension).
-
- ...... tom
-
- ps. references to published examples would be simply TERRIFIC.
- ***********************************************************
- The views expressed in this posting are those of the individual author
- only.
- ***********************************************************
-