Jump to content
Server Maintenance This Week. ×

2 Db,Do script doesn't work


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

Recommended Posts

tell application "FileMaker Pro Advanced"

activate

--activate the first database and the script

getURL "fmp7://192.168.6.24/test1.FP7"

tell database "test1"

do script "test 1"

end tell

--activate the second database and the script

getURL "fmp7://192.168.6.24/test2.FP7"

tell database "test2"

do script "test 2"

end tell

end tell

the problem is that i don't know how to switch to the second Db, the focus remain on the first.

Please help me

Link to comment
Share on other sites

Since you've had no replies, I'll just say that on my OS (10.4) with FMA 9, the second file did come to the front. However it opened a second window.

I suggest simply using a launcher file built in FileMaker rather than use AppleScript for this.

Link to comment
Share on other sites

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