Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!udel!burdvax!dave From: dave@PRC.Unisys.COM (David Lee Matuszek) Newsgroups: comp.sys.mac.system Subject: Re: System 7.0 and color Icons question Message-ID: <17925@burdvax.PRC.Unisys.COM> Date: 6 Jun 91 14:18:30 GMT References: <43894@netnews.upenn.edu> Sender: news@PRC.Unisys.COM Distribution: usa Organization: Unisys Corporation, Paoli Research Center; Paoli, PA Lines: 74 In article <43894@netnews.upenn.edu> warden@gradient.cis.upenn.edu (Robert Warden) writes: > > >I've been trying to incorporate some of my nice color >icl8 icons from sun desk (icon gallery) into the >programs themselves for finder 7.0. Both ways I've >tried have failed: I haven't had much luck, either. > 1. Within ResEdit, I've selected the picture of the > icon, switched to the finder and pasted it into > the icon box in the Get Info Box for each file. > The icon then looks like it lost some color/details > (in the finder), but within ResEdit, the new icl8 > icon looks like it should. I'm not quite sure what you mean by this, but when I've tried this: a) The old ICN# mask is kept. If the icl8 isn't exactly the same shape, it gets chopped. I was able once to get both the revised mask and the icl8 into one file, but it took half an hour of fiddling, and I am not at all sure I can do it again (so don't ask me how I did it....) b) A smooth color gradation develops dark gray bands when the icl8 is selected. Possibly I'm running into the problem of Apple's infamous "34 colors." BTW, to anyone else who wants to try this: you can't paste an icl8 into the icon box in the Get Info window. You have to open the icl8 in ResEdit and double-click the selection rectangle (thus selecting the entire color icon area) and Copy it--this copies it as a PICT, which can then be pasted into the icon box, but loses the mask in the process. From what someone said on the net earlier, if you can somehow get both the icl8 and the ICN# on the clipboard at the same time, then pasting into the icon box might work. I don't know, I haven't yet found a way to get both on the clipboard simultaneously. > 2. Trying to get around the new box in the Get Info Box, > I've copied the icon out of icon gallery (using > ResEdit), then pasted it into a new icl8 resource > in the file I'm trying to change. I then make > sure that the new icl8 resource ID matches the ID for > the matching ICN# icon. Then rebuilding the Desktop, > the icon for the application becomes the default diamond > and hand with pen icon. ResEdit shows that the icons > I have added are still there. What's up with this? I haven't tried this exactly, so I can't comment. I have noticed, though, that when I edit files directly, the icon changes do not take effect immediately, the way they do when I paste into the icon box of the Get Info window. Restarting seems to do the job, though, I haven't noticed that I needed to rebuild the desktop. > Any sugestions would be greatly appreciated. Amen to that! Especially if someone can find a quick way to do it. I have a hundred or so nice icl8s that I want to be able to use again, but I can't afford to take a week off from work to salvage them! >************************************************************************** >** Robert Warden warden@grad1.cis.upenn.edu ** >** University of Pennsylvania @gradient.cis.upenn.edu ** >** ** >** "Even a broken clock tells the time correctly twice a day" ** >** - Withnail & I ** >************************************************************************** -- Dave Matuszek (dave@prc.unisys.com) I don't speak for my employer. -- ------------------------------------------------------------------------- | Freedom of speech: 1776-1991. R.I.P. | -------------------------------------------------------------------------