Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!lloyd!kent
From: kent@lloyd.camex.uucp (Kent Borg)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Application mapper
Message-ID: <91@lloyd.camex.uucp>
Date: 16 Jul 88 04:21:56 GMT
References: <900004@zaphod>
Reply-To: kent@lloyd.UUCP (Kent Borg)
Organization: Camex, Inc., Boston, Mass USA
Lines: 35

You want to double-click a MacWrite document icon but have something
other than MacWrite get launched.  I have accomplished that the
following kludgy way:

You need to choose a word processor that can be launched with a
MacWrite document, from the Finder.  (Put a MacWrite document in the
same folder as your favorite word processor, select them both, tell
the Finder to open them.  If it works, the following technique will
work for you.)

I took my copy of MindWrite 1.1 and copied it and named the copy
"MindWrite 1.1 (MACA)".  I ran ResEdit and changed its creator to
MACA.  I went inside and found the resource who's type matched the old
creator (the signature resource I think it is called) and copied it to
a new resource of the type MACA, and deleted the old signature.  Next,
I went into the BNDL and changed the owner name to MACA.

Then to make things pretty I went into the icons and changed them too.
I put a little MACA in the application's icon, and I added a little
diamond to the MacWrite and TEXT icons.

I'm not sure the best way to get the Finder to recognize this new
application, I don't remember how I did it.  Try copying it to floppy,
throwing away the hard disk copy (amazing--I just assume everybody has
a hard disk, don't they?), then reinstalling from floppy.  Rebuilding
your desktop (hold down Option and command keys when returning to the
Finder from an application) should also do it, though with it's usual
loss of Info comments.

It cost 272K, but now I can double click MacWrite documents.


Kent Borg
kent@lloyd.uucp
or
husc6!lloyd!kent