In OS 9.2 I have an unknown number of windows open and want to close all of them except two specific windows. I can close them all with the following. WHILE WINDOW(_activeWnd) WINDOW CLOSE (WINDOW(_activeWnd)) WEND I believe this works because when one window closes another becomes active. Is there any way I can find which windows are open (active and non active) then close all but two required windows. Thanks Barrie