yknot Posted September 28, 2005 Posted September 28, 2005 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
-Queue- Posted September 28, 2005 Posted September 28, 2005 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.)
yknot Posted October 3, 2005 Author Posted October 3, 2005 Thank you for the answer. Your help is greatly appreciated. yknot
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now