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

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

Recommended Posts

Posted

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

Posted

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.

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