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

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

Recommended Posts

  • Newbies
Posted

Hi,

I am not that familliar with Applescript and what it can do. I would like to open a database and then run a script within it.

Any help would be greatly appreciated. So far I have managed the following:

tell application "FileMaker Developer"

open database "MyDatabase"

do script "MyScript"

end tell

When I try to run it I get:

Applescript error

FileMaker Developer got an error: Unable to coerce the data to the desired type.

Help!!! confused.gif

Posted

Not open "database", but

open alias "the full path"

or

open file "the full path"

the full path, example : "Macintosh HD:Users:Me:Documents:FileMaker doc's:Mydatabase.fp7"

  • 2 weeks later...

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