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

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

Recommended Posts

Posted

Please help,

I am trying to write an applescript on a Mac OS Xserver that will start up the FileMaker Server software along with some filemaker files on reboot. This is so if the server crashes I will not have to go in and manually open FileMaker Server and all the files it is serving. Not all the filemaker files on the Xserver are to be served, so I must specify the files to be served on reboot.

The applescript I wrote so far that works (only in that it starts the FileMaker software but does not open the file being specified - i.e. testing.fp5) follows:

tell application "Finder"

activate application "FileMaker Pro"

end tell

tell application "FileMaker Pro"

open "testing.fp5"

end tell

The file "testing.fp5" is located in the same directory as the FileMaker Pro software. The error I keep getting occurs when the "open" command occurs - I am told that FileMaker Pro encountered an error and the event must be stopped.

Please help I am a newbie to applescripting and can not figure out why the file won't open. Thanks for any help anyone can provide.

Posted

I've never tried to applescript which files FMServer opens so I can't be of help there but how about putting either the files or alias of files in a folder in the FMServer folder so they open automatically each time FMServer starts up?

This topic is 7946 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.