home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: NewsFlash.awebrx 1.0 (24.11.99) (c) Neil Bothwick, Wirenet
- Loads the NewsFlash page into AWeb then resets the environment variables
- */
-
- /* Exit if no newsflash */
- if ~exists('AACD:html/NewsFlash.html') then do
- call delete('ENVARC:AACDNewsFlash')
- exit
- end
-
- /* Wait for AWeb to load Welcome page */
- options results
- address command
- do i = 1 to 15
- 'AACD13:System/Rexxc/WaitForPort AWEB.1'
- if RC = 0 then leave
- end
- if RC > 0 then exit
-
- address 'AWEB.1'
- 'WAIT ALL'
- 'OPEN URL "file://localhost/AACD13:html/NewsFlash.html" TARGET "main"'
-
- /* Remove environment variable */
- call delete('ENVARC:AACDNewsFlash')
-
-