Re: Forcing Finder to forget
Re: Forcing Finder to forget
- Subject: Re: Forcing Finder to forget
- From: Greg <email@hidden>
- Date: Fri, 11 Jul 2008 12:09:58 -0400
I did just now via this code:
[[NSWorkspace sharedWorkspace] noteFileSystemChanged:path];
FNNotifyByPath((UInt8*)[path UTF8String],
kFNDirectoryModifiedMessage, kNilOptions);
And that did not seem to work. Perhaps it did something... but the
Finder did not attempt to read the folder the way it does after
sending it an 'update' message via applescript, which is my current
solution.
- Greg
On Jul 11, 2008, at 11:35 AM, James Bucanek wrote:
Greg <mailto:email@hidden> wrote (Thursday, July 10, 2008
8:23 AM -0400):
Is there any way that I can reliably, on both 10.4 and 10.5, force
the
finder to forget (clear its internal cache) the contents of a folder?
Anything along the lines of forcing it to clear and attempt to reload
a folder would be fine.
Did you try FNNotify?
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden