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.

Open File with password Using AppleScript

Featured Replies

I have the following AppleScript:

tell application "FileMaker Pro"

open file "Logfile.fp5" with password "Admin"

end tell

However, I am getting errors when I run it, specifically, error -10011.

What am I doing wrong?

Best Regards,

Jeffrey Ellis

From my Applescript book:

Error -10011: "Couldn't handle this command because it wasn't part of the current transaction."

There! That should should clarify things! smile.gif

Your syntax looks OK. Here's a couple of things to check.

First, your filename doesn't have a pathname in front of it. It doesn't need one if it is in the current folder. Otherwise you will need to use something like "MyHD:MyFolder:Myfile.fm5"

Second, is it possible that there is an AppleScript or other Apple Events already running (or, not completed) when you run this one? I'm thinking that Filemaker is still trying to deal with other Apple Events or another AppleScript when this one shows up. So it doesn't want to handle it.

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.