Newbie: Opening remote Filemaker database

All,

I am trying to update a script which I used extensively in OS 9, but cannot get it to work since the migration to 10.2. THe original script opens a remote Filemaker database and looks like this:

tell application "FileMaker Pro"
	activate
	open "database.fp5"
end tell

Unfortunately, Filemaker does not recognize this database by default. My question is this: Is there a way to specify the host machine’s IP address in order to hard-code the database’s location into the script?

TIA! :twisted:

Sure there is. This is from FileMaker’s (6.0) AppleScript dictionary, but this shouldn’t be exclusive to any one version of FM.

So, construct your command like so:

tell application "FileMaker Pro"
	get remote URL "FMP5://19.2.168.1.2/yourdatabasefilename"
end tell

I’ve had problems getting this to work. FileMaker’s AppleScript support has a lot of strange quirks, and they’ve had some commands that just plain don’t work in various versions of FM. Let us know if you get this working - maybe I’ll try again with the client that has upgraded all users to 6.0.