Re: FolderActions bug?
Re: FolderActions bug?
- Subject: Re: FolderActions bug?
- From: "John C. Welch" <email@hidden>
- Date: Sun, 25 Apr 2004 17:27:33 -0500
On 4/25/04 9:14 AM, "Rob Jorgensen" <email@hidden> wrote:
>
also long for folder actions that do not kick in until newly added
>
files are complete (files that are in the process of being
>
downloaded/transferred to the attached folder). It shouldn't be
>
necessary for scripters to add routines to determine if a
>
download/transfer is complete.
The problem is, define "done". Is it done when the size doesn't update
anymore? When the thread handling the copy is quit? When the dialog goes
away?
As well, what of remote processes adding files from different machines/OS's?
They *can't* set nor unset OS X - specific flags. The don't know about them.
What about files that are held open by a process until a user action is
completed?
In a modern computing environment, there's no easy answer to "is it done
copying yet", ESPECIALLY when remote systems are involved. In the end you
have to figure out what works for you. For my needs, a simple size
comparison on a 3-second delay works. That's part of the fun world of
writing your own code.
john
--
"With over 50 cars already on sale here, the Japanese auto industry isn't
likely to carve out a big slice of the U.S. market for itself."
commentary in Business Week magazine, 1968
_______________________________________________
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.