home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18220 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.3 KB  |  52 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!leonardr
  3. From: leonardr@netcom.com (Leonard Rosenthol)
  4. Subject: Re: processes and passing files to open...
  5. Message-ID: <1992Nov10.073041.16763@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <1djv2gINNjhd@mthvax.cs.miami.edu> <1992Nov9.001906.7771@netcom.com> <1992Nov9.224655.15423@sbcs.sunysb.edu>
  8. Date: Tue, 10 Nov 1992 07:30:41 GMT
  9. Lines: 41
  10.  
  11. In article <1992Nov9.224655.15423@sbcs.sunysb.edu> rhorn@csws17.ic.sunysb.edu (Robert Horn) writes:
  12. >In article <1992Nov9.001906.7771@netcom.com> leonardr@netcom.com (Leonard Rosenthol) writes:
  13. >>In article <1djv2gINNjhd@mthvax.cs.miami.edu> rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  14. >>>Hi.
  15. >>>
  16. >>>Under System 7, is it possible to tell the Process Manager what files to
  17. >>>open after starting a process? IE: I want Stuff-It Deluxe to launch and
  18. >>>then open a certain file. Is there any way to do this without Apple
  19. >>>Events?
  20. >>>
  21. >>    Why would you want to do this WITHOUT Apple events??  Using AE's is
  22. >>the correct way to do this - in fact you can even pass the "open document"
  23. >>event along with the _LaunchApplication call if you want.
  24. >>
  25. >
  26. >How? According to IM6, if you set the launchAppParameters to NIL, the system 
  27. >will automaticly generate an OpenApplication event and send that to the newly 
  28. >launched application. 
  29. >
  30.     That's correct.
  31.  
  32. >It also says that you can pass any high level event 
  33. >through the launchAppParameters field, and says to look in the Event Manager 
  34. >chapter for more information. To the best of my knowledge, neither the Event 
  35. >Manager chapter, nor the AppleEvent chapter show the structure of the high 
  36. >level event, 
  37. >
  38.     Yeah, that stuff is not too well documented.
  39.  
  40. >Am I missing something really obvious? Is there a snippet that I should be 
  41. >looking at?
  42. >
  43.     Check out the ProcDoggie sample a DeveloperCD near you - it may even
  44. be available on ftp.apple.com if you look hard enough.
  45.  
  46. -- 
  47. -----------------------------------------------------------------------------
  48. Leonard Rosenthol            Internet:     leonardr@netcom.com
  49. Director of Advanced Technology        AppleLink:    MACgician
  50. Aladdin Systems, Inc.            GEnie:        MACgician
  51.  
  52.