• 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: Force Finder to redisplay changed custom icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force Finder to redisplay changed custom icon


  • Subject: Re: Force Finder to redisplay changed custom icon
  • From: Clark Mueller <email@hidden>
  • Date: Wed, 25 Sep 2002 14:53:10 -0600

Try using NSWorkspace's noteFileSystemChanged method. I have found that this usually causes updates to attributes to be reflected immediately, but I've never tried it with icons specifically.

-c

On Wednesday, September 25, 2002, at 09:57 AM, Robert Fischer wrote:

Hi there,

finally I found a way to set/remove custom icons programatically - with the kind help of IconFamily source code (http://homepage.mac.com/troy_stephens/software/objects/IconFamily).

One problem still resists: if I set my custom icon once the Finder will display it correctly. If I want to change the icon again, the Finder will *not* reflect this until *reboot*! Logout does not help nor removing the custom icon before.

Where is the magic Carbon function KickFinderIconCacheImmediately()?


Thx in advance,

Robert

--
--- - .-. -- --
--- / \ ---- tin-b Software
.-. / \ --- .-. __o .-. (i)
/ \ / \ / \ _`\<,_ / \ Robert Fischer
/ \ / \ / \ (*)/ (*) / `---------------
/ `---' `-' `-----------'
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Force Finder to redisplay changed custom icon
      • From: Ando Sonenblick <email@hidden>
References: 
 >Force Finder to redisplay changed custom icon (From: Robert Fischer <email@hidden>)

  • Prev by Date: Keyboard State
  • Next by Date: launching tasks as root
  • Previous by thread: Force Finder to redisplay changed custom icon
  • Next by thread: Re: Force Finder to redisplay changed custom icon
  • Index(es):
    • Date
    • Thread