Jump to content

Automating a (Mac) script to run at midnight


johnatcctv
 Share

This topic is 6541 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have a Filemaker 6 script that generates a TV schedule for our channel for the next day, but I don't know how to tell either

a) Filemaker Server (which hosts the file with the script) to run that script, or

: Filemaker to run any given script (including that one) at a certain time every day.

In the case of a), it seems like Filemaker Server can only run AppleScripts, and I don't know how to translate my Filemaker Script into an AppleScript.

In the case of :, well, I just don't know any way of triggering scripts to run except for during Start-up.

Any ideas for where I can get help with either option?

Link to comment
Share on other sites

You would run this from FileMaker Pro on a workstation, not from FileMaker Server.

if you have a script called "Generate Schedule" you can use this format:

tell application "FileMaker Pro"

go to "file my_file.fp5"

do script FileMaker script "Generate Schedule" of file 1

end tell

Save this as an applet never show startup screen. Have iDo run it at the desired time. Include some error checking in the applet.

HTH

Steven

Link to comment
Share on other sites

This topic is 6541 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.