home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20290 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.1 KB

  1. Path: sparky!uunet!olivea!apple!grobbins
  2. From: grobbins@Apple.COM (Grobbins)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Detecting File Launch
  5. Summary: don't rely on Process Serial Number
  6. Message-ID: <75924@apple.apple.COM>
  7. Date: 24 Dec 92 06:36:34 GMT
  8. References: <1992Dec22.112641.12944@waikato.ac.nz> <1992Dec22.015110.21157@netcom.com> <bobert.725056177@godzilla>
  9. Organization: Experimental
  10. Lines: 14
  11.  
  12. In article <bobert.725056177@godzilla> bobert@informix.com (Robert Murphy) writes:
  13. >>>In article <1992Dec21.040009.26063@mcs.drexel.edu>, udsugar@mcs.drexel.edu (David Sugar) writes:
  14. >>>> I am looking for a way to detect how a file was launched.
  15. >I just noticed a remark in a tech note to the effect that under System 7,
  16. >an application launched as a startup item has a lower process id number
  17. >than the Finder does.
  18.  
  19. That only applies to application extensions (appe's), not to startup
  20. items.  Also, ordering of PSNs is not the kind of thing that is
  21. guaranteed to be done in the same manner in the future.  
  22.  
  23. Grobbins             grobbins@apple.com
  24.  
  25. Usual disclaimers apply.
  26.