Re: OT: scriptually? create custom folder icon
Re: OT: scriptually? create custom folder icon
- Subject: Re: OT: scriptually? create custom folder icon
- From: Nico Weber <email@hidden>
- Date: Tue, 15 Dec 2009 08:24:03 -0800
I wrote some notes on this in the "By the way" section at
http://www.amnoid.de/icns/makeicns.html .
On Tue, Dec 15, 2009 at 2:07 AM, Geoff Lee <email@hidden> wrote:
>
> Hi Folks,
>
> Sorry this is a bit off topic but this seems like the kind of place I might find an answer. I want to assign a custom icon to a folder using, ideally, a bit of shell script/perl/python, though I'm not averse to building a little binary if that will do the trick.
>
> Looking at the the custom icon file that gets created when changing the icon in the 'get info' window, the data in the resource fork seems to be the same as a .icns file but with an extra 100 or so bytes of stuff on the front, which I can't grok.
>
> Even if I could, since stuffing bytes into an apparently undocumented blob of data is a recipe for breakage I'd be delighted if anyone could point me in the direction of a supported API :)
>
> Many TIA,
>
> -geoff
> ______________________________________
> Geoff Lee <email@hidden>
> Computing Support
> School of Arts, Culture and Environment
> University of Edinburgh
> 20 Chambers St,
> Edinburgh, Scotland,
> EH1 1JZ
> Tel: +44 (0)131 650 2341
> ______________________________________
>
>
>
>
>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden