FileMaker/AppleScript Question
FileMaker/AppleScript Question
- Subject: FileMaker/AppleScript Question
- From: Kenneth Kirksey <email@hidden>
- Date: Wed, 13 Mar 2002 13:58:21 -0500
I have an AppleScript that updates our web databases from data in the production databases each night. Here's a code fragment:
with timeout of 1800 seconds
tell application "FileMaker Pro"
go to document "RadioStationsWeb.fp5"
delay 3
do script FileMaker script "Update Radio Stations"
end tell
end timeout
I have six databases to update, and they all use basically the same code.
I was under the impression, which appears to be mistaken, that execution of the script would stay in the with timeout structure until either the operation finished or the timeout was reached. But that doesn't appear to be what is happening. It appears as if the normal 1 or 2 minute AppleEvent timeout is occuring and the script is moving on to the next action and just not reporting the timeout.
The update scripts, e.g. "Update Radio Stations" above, can take anywhere from 2 to 10 minutes to run. What I want to do is suspend execution of the script until the FileMaker script has finished running, and then continue with the AppleScript. Is there a way to do this? Thanks,
Ken
-------------------------------------------------------------------------
Kenneth Kirksey
Information Technology Manager
Singing News Publishing
_______________________________________________
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.