home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!grobbins
- From: grobbins@Apple.COM (Grobbins)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Detecting File Launch
- Summary: don't rely on Process Serial Number
- Message-ID: <75924@apple.apple.COM>
- Date: 24 Dec 92 06:36:34 GMT
- References: <1992Dec22.112641.12944@waikato.ac.nz> <1992Dec22.015110.21157@netcom.com> <bobert.725056177@godzilla>
- Organization: Experimental
- Lines: 14
-
- In article <bobert.725056177@godzilla> bobert@informix.com (Robert Murphy) writes:
- >>>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.
- >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.
-
- That only applies to application extensions (appe's), not to startup
- items. Also, ordering of PSNs is not the kind of thing that is
- guaranteed to be done in the same manner in the future.
-
- Grobbins grobbins@apple.com
-
- Usual disclaimers apply.
-