Re: Custom Icons?
Re: Custom Icons?
- Subject: Re: Custom Icons?
- From: Walter Ian Kaye <email@hidden>
- Date: Wed, 21 Jan 2004 14:26:08 -0800
Well, if you already have the icon *as* an icon (not a PICT on the
clipboard, but actual icon data, e.g. 'icns'), or if you are copying
one folder icon to another, then you can certainly do it. If you're
copying a folder icon, you can just copy the invisible Icon<CR> file
and use SetFile (part of the dev tools) to set the customicon flag.
If you're setting a file icon, you'll need to insert the necessary
icon resource[s] having id -16455, and then use SetFile. Finder may
need updating afterward.
I haven't done it, but I see no reason for it not to work.
Well I just removed a custom folder icon via the shell...
icontest> rm Icon^M
icontest> SetFile -a c .
Didn't even need to update the Finder -- just returning to Finder
from the Terminal showed the de-iconed folder.
-boo
who has /Developer/Tools in his PATH
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.