Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

So I discovered that if you use FM7 to host a database (not server just FM7) you can perform a save as copy... script even when there are users connected. (This is different than previous versions, which made you disconnect users, unless you have server)

Since live unattended backups are the only feature of server that I really need, FM7 may allow me to have this feature without buying FM7 server.

With this small applescript

tell application "FileMaker Developer"

go to window "database"

do script "backup"

end tell

I can call this script from a shell script and place the shell script in my crontab file, subsequently using another script to gzip the backup file and rename it using the date and time in the filename.

The question I have relates to the applescript:

It seems I have to bring a window from the desired database to the front with the go to window command to use the do script command.

I tried to use a syntax like :)

do script "backup" of database "database" but that is incorrect. How do you reference a script name in a particular database without referencing a window?

Thanks,

Dana

FileMaker Version: Dev 7

Platform: Mac OS X Panther

This topic is 7520 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
×
×
  • Create New...

Important Information

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