FileMaker Pro 9: Automate script to run daily? [Windows XP]

。_饼干妹妹 提交于 2019-12-13 12:36:35

问题


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.


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/5220952/filemaker-pro-9-automate-script-to-run-daily-windows-xp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!