Timeouts & FileMaker Scripts
Timeouts & FileMaker Scripts
- Subject: Timeouts & FileMaker Scripts
- From: Andi Elsasser <email@hidden>
- Date: Wed, 3 Nov 2004 12:15:51 -0500
Hi all,
First, thanks to all who answered my last question. I really appreciate the
help! :)
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.
So, my question is this (and I hope I articulate this correctly!): Does an
AppleScript with a timeout clause maintain control of the OS even if it has
"finished its work", in the case when the FileMaker script is completed? Or
does it end its control when FileMaker is finished?
My script is:
Tell application "FileMaker Pro"
with timeout of 6300 seconds
open file "hd/directory/file" with password "BlahBlah"
end timeout
End tell
Thanks in advance for any/all advice!
Andrea Elsasser
_______________________________________________
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