• 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: Forcing Finder to forget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Forcing Finder to forget (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Forcing Finder to forget
  • Next by Date: FSCopyObjectSync and changing EUID
  • Previous by thread: Re: Forcing Finder to forget
  • Next by thread: Re: Filesystem-dev Digest, Vol 19, Issue 2
  • Index(es):
    • Date
    • Thread