Applescript - Opening Files with specified username and password
I'm trying to write an applescript to open a file with a specified username and password but having no joy, here's my script;
tellapplication "FileMaker Pro Advanced"
open "file" for Accounts "username" with passwords "password"
I get this error message;
FileMaker Pro Advanced got an error: Unable to coerce the data to the desired type