home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 6
/
AACD06.ISO
/
AACD
/
Graphics
/
SViewIV
/
ARexx-Scripts
/
LoadRequest.rx
< prev
next >
Wrap
Text File
|
2000-01-19
|
810b
|
48 lines
/*
$VER: LoadRequest.rx V9.00 (15.8.99)
© 1993-99 by Andreas R. Kleinert
This script demonstrates some kind of remote control of SViewIV
by using SViewIV's ARexxPort.
*/
address command
SViewIV "-INSTALL_APPMENU=FALSE -INSTALL_APPICON=FALSE"
say ""
say "ARexx: SViewIV has been started : Waiting a moment..."
wait 5
OPTIONS RESULTS
SIGNAL ON ERROR
SVIIPORT = 'SViewII.rx'
SVNGPORT = 'SViewNG.rx'
SVPORT = 'SuperView.rx'
IF ~SHOW('P',SVPORT) THEN SVPORT = SVNGPORT
IF ~SHOW('P',SVPORT) THEN SVPORT = SVIIPORT
IF ~SHOW('P',SVPORT) THEN DO
say "Could not locate ARexx port of SViewII !"
CALL ErrorOut 0
END
ADDRESS VALUE SVPORT
'OPEN_GUI'
'REQUEST'
CALL ErrorOut 0
/* Errorout procedure ----------------------- */
ErrorOut:
PARSE ARG ExitCode
EXIT ExitCode
END