Macman Posted November 28, 2000 Posted November 28, 2000 I am script challenged; that being said, I've been pulling out my hair (what little is left) trying to figure out how to write a script to open the files that my company needs to run in case I'm not here. Instead of writing out a long list of instructions, I wanted to create an icon for someone to double click that would start FM Server 5, then open the files they need to use (they're already password protected). I've been able to create the script thus far that will start FM Server, but getting it to open the files has been stumping me. This is all in Applescript. The problem is that in trying to write the hierarchal order of the file, AS returns and error "Expected end of line but found ". Here is my syntax: tell application "FileMaker Server" open file "2000.FP5" of folder "Lookup" of startup disk end tell Now, I have tried telling it to select the file first, then opening it, tried to call it an item... it always gets hung up on the second set of quotation marks, surrounding Lookup. This is really strange because the command to open FM Server also contained a path similar to this too (in other words, it worked there, why not here?). Anybody else seen this, or can help a beginner scripter?
WBlanchard Posted November 28, 2000 Posted November 28, 2000 Put an alias of the folder that contain the files or the folder itself in the FileMaker Server folder. FMS will launch these file automatically on startup. HTH
Macman Posted November 28, 2000 Author Posted November 28, 2000 Appendix B - Performance and Usage Tips of the FM Server User Guide... and here I state I read manuals... Thanks!
WBlanchard Posted November 28, 2000 Posted November 28, 2000 Your Welcome. That stuff gets by even the best of us - sometimes.
Recommended Posts
This topic is 8761 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