home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!agate!ames!olivea!gossip.pyramid.com!pyramid!infmx!godzilla!bobert
- From: bobert@informix.com (Robert Murphy)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Detecting File Launch
- Message-ID: <bobert.725056177@godzilla>
- Date: 22 Dec 92 20:29:37 GMT
- References: <1992Dec21.040009.26063@mcs.drexel.edu> <1992Dec22.112641.12944@waikato.ac.nz> <1992Dec22.015110.21157@netcom.com>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 14
-
- >>In article <1992Dec21.040009.26063@mcs.drexel.edu>, udsugar@mcs.drexel.edu (David Sugar) writes:
- >>> I am looking for a way to detect how a file was launched. For
- >>> instance I need to know if an application was launched by
- >>> being double clicked or weather it was started at startup
- >>> time because it was in the StartUp Items folder. (I realize
- >>> that I can check to see if the application is in the Startup
- >>> Items folder but I need to see if it was user launched.)
-
- I just noticed a remark in a tech note to the effect that under System 7,
- an application launched as a startup item has a lower process id number
- than the Finder does.
-
- Regards,
- Bob Murphy
-