Re: Timeouts & FileMaker Scripts
Re: Timeouts & FileMaker Scripts
- Subject: Re: Timeouts & FileMaker Scripts
- From: Graff <email@hidden>
- Date: Wed, 03 Nov 2004 12:58:43 -0500
Try doing the call in an "ignoring application responses" block. That
should allow the AppleScript to continue executing after it tells
FileMaker to open the file:
----
ignoring application responses
tell application "FileMaker Pro"
open file "hd/directory/file" with password "BlahBlah"
End tell
end ignoring
----
- Ken
On Nov 3, 2004, at 12:15 PM, Andi Elsasser wrote:
My next question relates to "timeouts". I am using iDoScript scheduler
to call
AppleScripts (3 in total) from midnight until about 6:00am. Each
AppleScript
opens a *local* FileMaker file that performs an external script in the
multi-
user database being hosted via FileMaker Server. The FileMaker
Scripts, each
one a little different, basically loop through a set of records and
update
other records based on certain criteria.
For the past few days, and intermittently, upon arriving at the office
there's
an AppleScript error message that says "No User Interaction Allowed". I
suspect that what's going on is that AppleScript 2 has been invoked by
iDoScript scheduler prior to AppleScript 1 being completed. However,
this
surprises me because each of the AppleScripts has a generous timeout
and the
previous should be completed long before the next is invoked.
<snip>
My script is:
Tell application "FileMaker Pro"
with timeout of 6300 seconds
open file "hd/directory/file" with password "BlahBlah"
end timeout
End tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden