Jump to content
Server Maintenance This Week. ×

Close all open FMP databases?


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

Recommended Posts

I must be missiong something...

I run hundreds of scripts at night and inevitably I hit the max 50 databases open...

SOOOO ... I fire off close such and such a database scripts in my master script... but maybe I'm blind BUT I just can't find a close all open databases command OR 'Close all but front'

Vanna can I buy a clue?

Fritz

Link to comment
Share on other sites

you are not blind.

here a way in applescript

tell application "FileMaker Pro"

repeat with i from 2 to 50

if exists window i then

try

close window i

end try

end if

end repeat

end tell

Link to comment
Share on other sites

I'm sure a script could be made to close all open databases, probably using a loop and the Databases and PatternCount() functions. It's too early in the morning for me to think about it now though!

Link to comment
Share on other sites

"I'm sure a script could be made to close all open databases, probably using a loop and the Databases and PatternCount() functions."

hmmm..

the Close[] script step require that the database is specified trought the standard "open" dialog window. You can't specify it with a calculated value.

Fritz, why don't you set each script to close the used files at the end of the task?

Link to comment
Share on other sites

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