FileMaker Pro 9: Automate script to run daily? [Windows XP]
I wrote a script in FileMaker Pro 9 to export some records to a .tab file开发者_运维技巧, and I need this script to run daily. I am running Windows XP. I haven't found any function in FM to take care of this - is there a way to run it from the command line? I know that I could set something like that up with Scheduler.
I'd create a second FileMaker file which runs a script on Open which does the following:
Open File [Your Other File]
Perform Script [Export Script]
Close File [Current File]
Exit Application
And then set that file to be scheduled by Windows Task Scheduler.
I don't remember which version of FileMaker it was introduced with, but I think it was either 10 or 11, but there's a script step called "Install OnTimer Script" that can execute a script after a certain period of time, measured in seconds. You might also check into that.
http://www.filemaker.com/help/html/scripts_ref1.36.16.html
精彩评论