Re: FileMaker pro changes from v9 to v12
Re: FileMaker pro changes from v9 to v12
- Subject: Re: FileMaker pro changes from v9 to v12
- From: Chris Paveglio <email@hidden>
- Date: Thu, 10 May 2012 15:28:53 +0000
- Thread-topic: FileMaker pro changes from v9 to v12
There was a major Applescript execution change that occurred in FM11. It has
do to with executing Applescripts asyncronously now, instead of syncronously
(ie now things can happen out of order, or don't wait for other scripts to
complete their action before the next one fires).
So I would suggest adding in a step between some script commands (in
Applescript not Filemaker script) like:
do shell script "sleep 1"
Even when using FMScripts called from an Ascript, if you call them in order,
you'll get an error that "some other script is executing and request can't
be completed", or something to that effect. In my script, I had to put a
Sleep command after each "show all records" or "clear all finds" steps. Not
sure why those take longer to execute, but the sleep step is pretty much the
"approved" way to handle it now.
Give that a shot and let us know if it works.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden