• 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: setting custom finder icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting custom finder icons


  • Subject: Re: setting custom finder icons
  • From: Walter Ian Kaye <email@hidden>
  • Date: Sat, 21 Feb 2004 18:20:41 -0800

At 12:48p +0100 02/18/2004, Brennan didst inscribe upon an electronic papyrus:

I've been googling a while looking for information about custom Finder
icons, to see if they might be settable with a script. The current Finder
dictionary is explicit that the icon family class is NOT AVAILABLE YET,
but I was wondering if there was a workaround perhaps involving the
Satimage OSAX for resource tweaking, or should I just be patient

Well ok, this is easier than the background-picture thing because custom icons have been documented for ages. :-)

Questions:

1. Do you need to construct icons on the fly, or copy from an existing file?
2. Are these for folders or files?

Custom icons are stored in resource ID -16455.

If for a folder, an invisible file named ("Icon" & return) [in AS parlance] is placed in the folder, and the folder has its custom icon metadata bit set (but the invisible file does not).

If for a file, the file has its custom icon metadata bit set.

You can use /Developer/Tools/SetFile to set file/folder metadata.


-boo
who used File Buddy 7 to doublecheck the metadata for folders
_______________________________________________
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.

References: 
 >setting custom finder icons (From: Brennan <email@hidden>)

  • Prev by Date: Re: ehsan?
  • Next by Date: Re: ehsan?
  • Previous by thread: setting custom finder icons
  • Next by thread: Re: AppleScript Read file in Filemaker
  • Index(es):
    • Date
    • Thread