home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: CloseExceptActiveWin.rexx 1.1 (28.8.99) Copyright (c) Nils Görs.
-
- closes all windows except the active one.
- */
-
- options results
-
- address WORKBENCH
-
- GETATTR OBJECT WINDOWS.ACTIVE
- activeWin = result
-
- GETATTR WINDOWS STEM WINDOW
-
- do i = 0 to WINDOW.count-1
- IF WINDOW.i ~= "root" THEN
- IF WINDOW.i ~= activeWin THEN WINDOW '"'||WINDOW.i||'"' CLOSE
- END
-