Re: Telling Finder to Reload Icon?
Re: Telling Finder to Reload Icon?
- Subject: Re: Telling Finder to Reload Icon?
- From: Josh Aas <email@hidden>
- Date: Tue, 28 May 2002 11:47:13 -0500
I need to use the code referenced by Mr. Tury below, but I can't get his
email from the archives. I need to find out what the bug in Apple's code
is... Thanks!
-Josh Aas
FROM: Scott Tury
DATE: 2002-02-15 22:16
Michael,
The best way to do this is to send an Update AppleEvent to the Finder.
You can use the MoreAppleEvent sample code that Apple has on their web
site to do this, although there is a bug in their sample code which you
will have to fix. (It's a simple fix, and I can send the fix if you
want it. Just ping me off list.)
The other option you have is to just copy the file, and delete the
original one. This forces the Finder to also reload your icon, but it's
not a very elegant solution. (Not to mention your icon moves around
when you do this.)
I know of no way to do this in objective-c.
Scott Tury
_______________________________________________
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.