• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Icons?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Custom Icons?
      • From: Joshua See <email@hidden>
  • Prev by Date: Re: Address Book: Delete Person (still can't)
  • Next by Date: Re: Inheritance
  • Previous by thread: Re: Custom Icons?
  • Next by thread: Re: Custom Icons?
  • Index(es):
    • Date
    • Thread