Ronald J Kimball wrote: > > On Wed, Oct 20, 1999 at 03:14:52PM -0700, Nicholas G. Thornton wrote: > > I'm interested in writing a program that strips off custom icons from items > > dropped on it. To do this I was wondering "where" the icon is stored. (any > > other hints'd be good too) > > > > That depends on the item. Custom icons for folders are stored in a file > named "Icon\cM" within the folder. Custom icons for files are generally > stored in the resource fork of the application, according to the file's > Creator type. Custom icons for applications are stored in the > application's resource fork. > As Ronald says above, custom icons for files and applications are handled in the application, specifically by the FREF and BNDL resources. One way to make generic looking files is to strip out the file and creator types, e.g. change both to ????. This would affect only those files that you change, whereas changing the application resources would affect all files of the same type and creator. If you are ambitious and have no fear, just open up the invisible Desktop file and hack that for the same result. (Just kidding. I wouldn't recommend that at all.) If it's just folders you're after, then you can look in the folder for the invisible "Icon" file mentioned by Ron and delete or rename it. Hope that's somewhat helpful. Geoff # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org