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

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