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