🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #7028

Re: How do I change an application's icon?

#7028
From: Brian Diehm
Date: Tue, 02 Sep 1986 18:32
28 lines
2130 bytes
>My question is how I can change the icon that is displayed for an application
>on the screen.  For example, I have some applications which just have
>the generic pen-in-hand-on-diamond icon, but I can find the icon I WANT
>to represent the application inside the application as some ICN# when
>I dig around with resedit.  How do I indicate that
>that's the one I want associated with my application on the screen?

I am going to assume you have an application that is designed to have an icon
of its own, but it doesn't appear (any more).  If you're asking about how to
put an icon into an application that uses the generic icon, that's more complex
and requires FREF and BNDL resources.

As a guess, the most likely explanation is that the bundle bit is not set, and
the desktop was rebuilt at some time, which lost the icon.  In theory, the
bundle bit is supposed to be set once and then when the finder recognizes the
icon, it is reset.  After that, the icon gets copied from the desktop when the
application is copied.  However, desktop rebuilding is a hole that you can
fall into.  It is interesting to note that Apple doesn't follow its own scheme
on their applications, and they simply ship them with the bundle bit set.  A
few applications (for example, VersaTerm 1.52, I don't know about 2.00) took
Apple at their word, and once in a while their icon would revert to the generic
one.

Look for the bundle bit using ResEdit "getinfo" on the entire application. Or
use Fedit or SetFile.

-Brian Diehm
Tektronix, Inc.
Technical Details
Message-ID: <915@tekig4.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!tekig!tekig4!briand
References: <181@SU-ISL.STANFORD.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!tektronix!tekig!tekig4!briand
From: briand@tekig4.UUCP (Brian Diehm)
Newsgroups: net.micro.mac
Subject: Re: How do I change an application's icon?
Message-ID: <915@tekig4.UUCP>
Date: Tue, 2-Sep-86 14:32:32 EDT
Article-I.D.: tekig4.915
Posted: Tue Sep  2 14:32:32 1986
Date-Received: Wed, 3-Sep-86 04:18:13 EDT
References: <181@SU-ISL.STANFORD.EDU>
Reply-To: briand@tekig4.UUCP (Brian Diehm)
Organization: Tektronix, Inc., Beaverton, OR.
Lines: 28