home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Resources
/
System
/
BoingBag1
/
Contributions
/
Workbench
/
ARexx
/
CloseActiveWin.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-12-20
|
292b
|
17 lines
/*
$VER: CloseActiveWin.rexx 1.2 (06.11.99) Copyright (c) Nils Görs & Luca Danelon.
Closes the active workbench window.
*/
options results
ADDRESS WORKBENCH
GETATTR OBJECT WINDOWS.ACTIVE
IF result ~= "root" THEN activewin = result
ELSE EXIT
WINDOW '"' || activewin || '"' CLOSE