February 13, 200322 yr 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.
February 14, 200322 yr 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?
February 21, 200322 yr 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?
Create an account or sign in to comment