Finder not counting files right
Finder not counting files right
- Subject: Finder not counting files right
- From: Olivier Destrebecq <email@hidden>
- Date: Thu, 25 Apr 2002 16:18:16 -0500
I'm creating an application that write files to a temporary directory.
I wanted to write a script that would monitor that folder and tell me if
there were any file in there that were not used by my app anymore but
that was not deleted. So i created a stay open script that every 4
seconds looks at the folder and compare the number of file to the number
of document in my app. the problem is that the finder return me an
invalid count. it seems to update its count only when the user actually
open the folder to see it.
That means that if a file is created by an app, a count operation on the
folder containing it will return an invalid count unless the folder is
open before.
Does anybody knows of a works around
Olivier
_______________________________________________
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.