home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d308
/
vlt.lha
/
Vlt
/
rexx
/
vltmouse.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1990-01-18
|
754b
|
36 lines
/* VLTMouse.rexx */
address VLT
quitflag = 0
y = 0
x = 0
mp = openport(VLTMOUSE)
do forever
if quitflag = 1 then leave
t = waitpkt(VLTMOUSE)
do forever
p = getpkt(VLTMOUSE)
if c2d(p) = 0 then leave
string = getarg(p)
t = reply(p, 0)
parse var string y x yold xold ytot xtot
'rev "D"' /* Deselect all */
'rev "K '||y - 1 - ytot||'"' /* Jump from Top to line y */
'rev "S S"' /* Select this line */
'rev "X revtemp"' /* Save in env variable */
str = getenv(revtemp)
str = request(50, 50, "Change this command?", str, , "Cancel", VLT)
if str ~= "" then "send ''"||str
end
end
/* This example doesn't really ever: */
exit