Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Opening file with username/password in FMP7

Featured Replies

  • Newbies

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?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.