I created a filemaker doc that is simply a set of buttons to open all my other DBs, using the script mentioned in the previous post.
What I want to know is how to make FM not only open the other file, but bring it to the front, so I don't have to click on its window to work on it. Also, it'd be nice to figure out how to toggle between open databases using these buttons.
Is that simply beyond the scope of Filemakers capabilities?
Nathan,
If your script is -
Open file (File-A)
Perform Script (external script) "Gogo"
where 'Gogo' is a script in File-A which consists of -
Go to layout (whatever)
the file will come to the front.
u can have all the scripts "internal"= in one file.
create an "opener" scrip that will be executed on file being opened.(or assign it to the button...)
To set the script to run immeditaly after the file is opened:
Edit--Preferences---Document
[ when opening run "opener script" script]
-opener
Open File [1]maximised
Open File[2]maximised
Open File[3]maximised
....
this script will open the rest of the files.
so any time YourFile.fp5 is opened it will run 1 script ("opener") that will trigger opening of the other files.
Last file opened will be "up front"/active
HTH
All the best!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.