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

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

Recommended Posts

  • Newbies
Posted

I'm running a small office server that runs a few password-protected FMP7 databases (not using Server). I want to have a startup script automate opening these, so if the server needs to restart, someone doesn't have to be there to open the databases manually.

I flipped through the FileMaker dictionary and found the syntax for "open", which seemed exactly what I want, and wrote the following:

tell application "FileMaker Pro"

open file "path to file" with passwords "password" for accounts "account"

end tell

When I try to compile it, I get this, with the quote mark right before the password highlighted:

Syntax Error.

Expected "given", "with", "without", other parameter name, etc. but found ".

I've tried other variations of this command, such as capitalization and "Password" and "Account" instead of the above plural versions (which oddly enough makes it complain about the word "for" after the password instead of the quote mark before it). And I've looked everywhere, including all previous AppleScript postings here, but haven't found any mention of this issue. Can anyone give me any pointers? Or is this FileMaker's fault?

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