cosmo145 Posted February 13, 2003 Posted February 13, 2003 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.
dkemme Posted February 14, 2003 Posted February 14, 2003 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?
Markus Musik Posted February 21, 2003 Posted February 21, 2003 I am a little confused: Your script is opening and instructing Filemaker Pro but you are talking about Filemaker Server. Have you possibly referred the finder to the wrong app?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now