sfeldon@milton.u.washington.edu (Steve Feldon) (10/05/90)
We need to alter an existing launcher application to have two seperate icons, one for applications local to the Mac, and one for applications that will come across the network. I know I have to change the type resource, the ICN#, BNDL, and FREF resources, but I just can't get it to work. Has anyone ever success- fully rebound an icon like this? If so, I would appreciate hints/a walkthrough on how we can do it. Thanks in advance, Steve Feldon (sfeldon@coco.ms.washington.edu)
aland@chaos.cs.brandeis.edu (Alan D Danziger) (10/08/90)
The easiest way to rebind an application icon is just to find the current icon, and replace it with the new one (making sure to keep the ID#). The catch I see in what you are doing is that you also need to change the creator code to something different (maybe just switching uppercase to lowercase) for the two kinds of launchers. Also, you will need to either rebuild the desktop or manually (using ResEdit) delete the old icon from the desktop file. The way to do this is to copy the two files onto a floppy, then (using Finder, not MultiFinder) open ResEdit, open the Desktop file, find the creator string of the old file, and then clear the resource... JUST that resource. If you want, you can also go in and delete the icon for that program as well, but I don't THINK this is necessary. Then copy the files back onto the drive from the floppy, and the Finder will install the icons into the Desktop. This is the easy way... :-) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alan D. Danziger, | 753 South St,Waltham MA 02154 | No Jacket aland@chaos.cs.brandeis.edu | MB 3130 / Brandeis University | Required. (617) 894-6859 | PO Box 9110 Waltham MA 02254 | Phil C. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=