dbTalk Databases Forums  

Need help getting "Run Script File" working in FM Server 7

comp.databases.filemaker comp.databases.filemaker


Discuss Need help getting "Run Script File" working in FM Server 7 in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
audleman@quasika.net
 
Posts: n/a

Default Need help getting "Run Script File" working in FM Server 7 - 08-29-2005 , 06:38 PM






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
7ata: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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.