Re: FileMaker/AppleScript/FileMaker
Re: FileMaker/AppleScript/FileMaker
- Subject: Re: FileMaker/AppleScript/FileMaker
- From: ehsan saffari <email@hidden>
- Date: Wed, 08 Jan 2003 23:48:39 -0600
On 08/01/2003 19:59, David Crowe <email@hidden> wrote:
>
Is it my imagination, or does FileMaker lock up if you execute
>
AppleScript from a FileMaker script, when the AppleScript then runs a
>
FileMaker script?
>
>
That's the behaviour that I appear to be seeing.
It may appear so. Problem is FMP considers an AS run complete when it is
initiated, it doesn not wait for actual completion of the AS. If you have
a call like this:
Perform FMP script
(1) Perform AS
Some lengthy process
end AS
(2) Perform FMP script
that relies on the result of (1)
end FMP script
end FMP script
then everything may seem locked up since (2) is trying to operate on the
result of (1) which has not been completed, and once (1) eventually
completes, (2) has timed out!
Without seeing your actual code, you may want to break your script into
two scripts so that the second one runs after the first 1 successfully
completes.
If that doesn't help, please elaborate further.
cheers
ehsan
_______________________________________________
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.