Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bbn.com!nic!chaos.cs.brandeis.edu!chaos!aland From: aland@chaos.cs.brandeis.edu (Alan D Danziger) Newsgroups: comp.sys.mac.misc Subject: Re: ** How about writing a nice utility pgm? ** Message-ID: Date: 27 Nov 90 17:26:54 GMT References: <1990Nov26.191448.3319@herald.usask.ca> Sender: @chaos.cs.brandeis.edu Organization: Brandeis University Computer Science Dept Lines: 39 In-Reply-To: austin@skorpio.USask.CA's message of 26 Nov 90 19:14:48 GMT In article <1990Nov26.191448.3319@herald.usask.ca> austin@skorpio.USask.CA (Alvin Austin) writes: I'd like a *small* utility program in pascal or c. It would have the creator type set to the same as say WriteNow or MacWrite, so that if I double-clicked on a document created by the said word processor, this utility pgm would be launched. Alternatively, an INIT which maps the creator types of documents that you double-click on to what you want. ie: double click on document with creator type MACA (MacWrite) and Microsoft Word is launched (creator type MSWD). Well, for the first you could try a little program called MacWrite->MacWriteII which I edited to run MS Word instead. There are also versions for other word processors, and it does exactly what you want. I've seen a few different versions, but if you can't find it let me know and I'll bin-hex and e-mail docs & the package (if I can find it on my disks!) As far as the second goes, there are three items that I can think of offhand which do it. The first is called HandOff II (the top-of-the-line) which does this, as well as program-launching in general (as with OnCue). One great feature of HOII is that it will automatically launch a file with the application (simulating your double-clicking a document each time you open the application.) Another alternative is HandOff 1.2 or something, which does the cross-launching and I don't really know what else. A shareware alternative (which I have not used but looked at some time ago) is called CrossLaunch, and is available from Sumex-aim via anonymous FTP. Can't tell you much about it, though. It is billed as suiting your purpose, though. Personally, I use QKII to open the program I want to use and then use the open menu to get back to the file. Not as easy, but no additional cost, either. -- ---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--- Alan D. Danziger, | 753 South St,Waltham MA 02154 | "Licensed aland@chaos.cs.brandeis.edu | MB 3130 / Brandeis University | to (617) 894-6859 | PO Box 9110 Waltham MA 02254 | Program" ---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---