Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!herald.usask.ca!skorpio!austin From: austin@skorpio.USask.CA (Alvin Austin) Newsgroups: comp.sys.mac.misc Subject: ** How about writing a nice utility pgm? ** Message-ID: <1990Nov26.191448.3319@herald.usask.ca> Date: 26 Nov 90 19:14:48 GMT Sender: news@herald.usask.ca (USENET News System) Reply-To: austin@skorpio.USask.CA (Alvin Austin) Organization: University of Saskatchewan Lines: 43 Here's an idea for a nice little utility program for the Mac which I haven't seen done yet. 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. The pgm would do nothing except to launch the word processing application I *do* use, say Microsoft Word, passing the information about the file I double clicked on to MS Word. This way, you might have a couple of copies of this utility somewhere on your hard disk, one with the creator type set to WriteNow, another copy's creator type set to MacWrite, etc. Double-clicking on text files in either form would start MS-Word with that file open. ----------------- 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). ----------------- Anybody with some code to accomplish such a thing? Please email, and I will summarize the responses received, if there is some interest in this type of thing. Thanks, Alvin ___________________________________________________________________________ Alvin Austin Email: austin@skorpio.USask.Ca Department of Computational Science (Mail) Room 1C101 Engineering Building Office: Room 145.1 Arts Building University of Saskatchewan Telephone: (306) 966-4895 Saskatoon, Sask. CANADA S7N 0W0 FAX: (306) 966-8709 ___________________________________________________________________________