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: Bill Cheeseman <email@hidden>
- Date: Sat, 27 Jan 2001 17:16:52 -0500
Agreed.
on 1/27/01 3:55 PM, Peter Gort at email@hidden wrote:
>
> 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
-
Bill Cheeseman, Quechee, Vermont <
mailto:email@hidden>
The AppleScript Sourcebook
<
http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<
http://www.stepwise.com/Articles/VermontRecipes/>