home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15520 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.3 KB

  1. Path: sparky!uunet!think.com!news.think.com!morris
  2. From: morris@quake.think.com (Harry Morris)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: more on sublaunching
  5. Followup-To: comp.sys.mac.programmer
  6. Date: 15 Sep 92 16:59:55
  7. Organization: Thinking Machines Corporation, Cambridge MA, USA
  8. Lines: 18
  9. Distribution: world
  10. Message-ID: <MORRIS.92Sep15165955@quake.think.com>
  11. References: <sdorner-150992132551@dorner.slip.uiuc.edu>
  12. NNTP-Posting-Host: quake.think.com
  13.  
  14.  
  15. thanks to everyone who sent suggestion son sub-lanuching.  I think I've
  16. gotten sub-launching pretty much working now!
  17.  
  18. However, I've got a document I need to launch, I know it's name, type, and
  19. creator.  I've set up the AppParmHandle to point to my file, and that works
  20. fine.  Two problems remain though.  I'd appreciate any help I can get.
  21.  
  22. 1) I need to figure out which app to launch, given a type and creator.
  23. This is probably normally done by the finder.  I think the necessary info
  24. is in the desktop file, but TN 29 says not to rely on that.  Is there any
  25. kosher way to do this?
  26.  
  27. 2) When I launch an app (say, MSWord) with a doc, it opens the doc, and
  28. becomes the frontmost app.  But then if I switch back to my app, and try to
  29. launch another doc in the same app, the app becomes frontmost, but the
  30. second do is not loaded.  Any idea how do this?  I've seen OnLocation do
  31. it. 
  32.