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

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

Recommended Posts

Posted

Is there a way to control (in a script) how many windows are open?

Such as: "if the count of open windows is greater than 3, close 1 of them"

Thanks for any help

yknot

Posted

If [ValueCount(WindowNames) > 3]

Close Window [Name: Substitute( MiddleValues( WindowNames; X; 1 ); ¶; "" )]

where X is the number of the window you want to close (1 - topmost, 2 - second topmost, etc.)

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