home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: LoadRequest.rx V6.21 (17.3.97)
- © 1993-97 by Andreas R. Kleinert
-
- This script demonstrates some kind of remote control of SViewNG
- by using SViewNG's ARexxPort.
-
- */
-
- address command
-
- SViewNG "-INSTALL_APPMENU=FALSE -INSTALL_APPICON=FALSE"
-
- say ""
- say "ARexx: SViewNG has been started : Waiting a moment..."
-
- wait 5
-
- OPTIONS RESULTS
- SIGNAL ON ERROR
- SVNGPORT = 'SViewNG.rx'
- SVPORT = 'SuperView.rx'
-
- IF ~SHOW('P',SVPORT) THEN SVPORT = SVNGPORT
- IF ~SHOW('P',SVPORT) THEN DO
- say "Could not locate ARexx port of SViewNG !"
- CALL ErrorOut 0
- END
-
- ADDRESS VALUE SVPORT
-
- 'OPEN_GUI'
- 'REQUEST'
-
- CALL ErrorOut 0
-
-
- /* Errorout procedure ----------------------- */
-
- ErrorOut:
- PARSE ARG ExitCode
-
- EXIT ExitCode
-
- END
-