home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Resources
/
System
/
BoingBag1
/
Contributions
/
Workbench
/
ARexx
/
Open.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-12-20
|
528b
|
21 lines
/*
$VER: Open.rexx 1.3 (06.11.99) Copyright (c) Nils Görs & Luca Danelon.
Opens an drawer or starts an tool. I recommend to install this script as
hotkey placed on the [RETURN] button.
Using the argument YES will open a new drawer but root drawer become active
window again.
*/
options results
PARSE ARG keeporig
ADDRESS WORKBENCH
GETATTR OBJECT WINDOWS.ACTIVE
activewin = result
MENU WINDOW '"' || activewin || '"' INVOKE ICONS.OPEN
IF keeporig = "YES" THEN WINDOW WINDOWS '"' || activewin || '"' ACTIVATE