January 17, 200124 yr 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
January 22, 200124 yr 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! 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