September 28, 200520 yr 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
September 28, 200520 yr 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.)
Create an account or sign in to comment