home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Resources
/
System
/
BoingBag1
/
Contributions
/
Workbench
/
ARexx
/
CloseWin.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-12-20
|
296b
|
18 lines
/*
$VER: CloseWin.rexx 1.0 (27.8.99) Copyright (c) Nils Görs.
Closes all windows except "root" on Workbench.
*/
options results
address workbench
GETATTR WINDOWS STEM WINDOW
IF WINDOW.COUNT = 1 THEN EXIT
do i = 0 to WINDOW.count-1
IF WINDOW.i ~= "root" THEN WINDOW WINDOW.i CLOSE
END