I'm having trouble with the "Run Script File" feature of FM Server 7,
Mac OS X.
I've created a simple applescript (the first one I've created, I'm a
complete n00b) to launch a FM file, run a script, and close. The script
works fine when I run it by hand.
I set it up as a scripted event in FM Server to run every five minutes.
When I do this, the 'Last Run' and 'Next Run' fields change as if the
script were being run, but nothing actually happens.
I don't know if there's a tricky problem with my applescript or what.
The full text of the script is here:
---------------------
launch application "FileMaker Pro"
tell application "FileMaker Pro"
open file "Macintosh HD:Library:FileMaker Server
7

ata:Synchronization Manager:Synchronization Manager.fp7"
do script "Synchronize With Website"
end tell
tell application "FileMaker Pro"
close database "Synchronization Manager"
end tell
----------------------------------
Any help is greatly appreciated!
If anybody can tell me an alternative way of having this file open and
run a script every five minutes, I'd love to hear it.
Kevin