Re: R23's Osaxen Rant (or much too much ado about nihil)
Re: R23's Osaxen Rant (or much too much ado about nihil)
- Subject: Re: R23's Osaxen Rant (or much too much ado about nihil)
- From: Peter Gort <email@hidden>
- Date: Sun, 28 Jan 2001 07:55:16 +1100
>
The notion here is that a time-consuming process like a Finder copy can run
>
in a background thread so that your script can do other things in the
>
meantime. This can be useful. It's one of the powerful features of Finder
>
scripting. If the only thing you happen to want to do is the copy, then just
>
run your custom delay handler until the copy is done. Using the Delay
>
command in a repeat loop in your delay handler allows the rest of your
>
machine to function in the meantime.
>
Bill, I must respectfully add to this. While the "bzy " mechanism exists,
it's essentially a workaround. We've had a multi threaded Finder since Mac
OS 8.0, what we should eventually have got was a parameter to the command
indicating whether or not to continue before it finished. For example:
Duplicate (finder reference) to (finder reference) [with wait until
finished]--boolean, defaults to false
--
Peter Gort