Re: Maybe not the Finder, but a 'wait for FMP' problem [WAS: Re: R23's Osaxen Rant]
Re: Maybe not the Finder, but a 'wait for FMP' problem [WAS: Re: R23's Osaxen Rant]
- Subject: Re: Maybe not the Finder, but a 'wait for FMP' problem [WAS: Re: R23's Osaxen Rant]
- From: Craig Sutherland <email@hidden>
- Date: Mon, 29 Jan 2001 10:13:32 -0600
At 5:45 AM -0500 1/29/01, Bill Cheeseman wrote:
>
on 1/28/01 8:36 PM, Paul Berkowitz at email@hidden wrote:
>
>
> How can I tell my script to wait until the 'do script' command has
>
> completely finished running before doing anything else?
>
>
I don't know if there's any mechanism built into FMP to do this. But your
>
FMP script could set a hidden field/variable ("I'm done"), and your
>
AppleScript could wait in a delay loop or idle handler to see that variable
>
(and clear it when found).
>
>
-
>
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>
->snip<-
Paul-
Could this be done with a global variable that has a value set at the beginning of the FM script and then the value changes at the end which would then let you AS resume?
Craig Sutherland