;EXC Script Commands - Quick Reference

; Note: Brackets ([]) indicate an optional parameter and should not be
;       included as part of the command.  Quotes (""), where specified, 
;       are required to be entered as part of the parameter.

; BEEP                   Sound a short beep on speaker. Useful in debugging
;                        scripts.
; CASE ON                The CASE commands enable case-sensitive (ON) or case-
; CASE OFF               insensitive (OFF) compares by WAITFOR and SEARCH.  The
;                        initial mode is CASE ON.
; CLEAR                  Clear the screen.
; CURSOR col row         Move the cursor to the specified coordinates.
; CURSX col              Move cursor to the specified column.
; CURSY row              Move cursor to the specified row.
; DELAY n                Wait n seconds
; FAST                   Reverses the effect of a previous SLOW command.
; FILE filespec          Open a file for processing with GET commands.
; GET eoflabel blanklbl  Read a record from and external file into variable 16.
; GOTO label             Unconditional branch to label.
; HIDEWIN                Restore a window displayed with SHOWIN to it's
;                        original color attributes.
; HLOCATE "string"       Same as LOCATE except cursor only moves horizontally
;                        to the column where the search string was found.
; IFN label              If condition set to N, go to label.
; IFY label              If condition set to Y, go to label.
; INT9                   Reverses the effect of a previous NOINT9 command.
; KEY mnemonic [n]       Push the key onto the keyboard stack. 'n' is the
;                        number of times you want the keycode inserted.
; LOCATE "string"        Reads the screen until the string appears, then moves 
;                        the cursor to the start of the string.
; LOOK "string"          Test to see if the string was on the screen at the 
;                        time the screen was last read.  Screen reads occur
;                        during execution of READ, SEARCH, WAITSCR and WAITFOR 
;                        commands.  Sets "Y/N" condition.
; NOINT9                 Stops initiating interrupt 9 when putting a key in
;                        the buffer.  Used only if problems occur with key
;                        recognition or key order.
; ON n label             Command will do nothing n times and on pass n+1, it
;                        will branch to label.
; PAUSE                  Causes the script to be paused as if Scroll Lock were
;                        pressed.
; QUIT [n]               Halt processing the script file.
;                        End-of-file on the script file issues an automatic
;                        QUIT.
;                        If n is specified, that value (0-255) is returned  
;                        as the DOS ERRORLEVEL.  Otherwise, the return code
;                        of the spawned program is returned.
; READ                   Read the current screen contents.
; REWIND                 Go to the start of an external file (see FILE, GET).
; SCRMAX cols rows       Specifies the largest screen size that will be used
;                        during execution.  Used to allocate screen buffer.
; SEARCH "string"        Read screen and test to see if the string is on the
;                        screen. Sets "Y/N" condition.
; SETWAIT nnn            Wait nnn seconds before a WAITFOR or WAITSCR times
;                        out.
; SHOW attr "string"     Display the string using the specified attribute.
;                        Displays at the location specified in SHOWAT.
; SHOWAT col row         Specifies location for subsequent SHOW command
;                        strings to be displayed.
; SHOWIN attr            Rewrite the current window text in the specified
;                        attribute.
; SLOW [n]               Use only if problems occur in key recognition or
;                        key order.  Mostly effective for slower CPUs.  Slows
;                        key entry.
; TICK n                 Same as DELAY except n represents 1/18th of a second
;                        instead of a second.
; TIME hhmmss            Pause execution of subsequent commands until the               
;                        specified time of day.
; TIMEOUT label          Branch to label when the next WAITFOR or WAITSCR
;                        timeout occurs.
; TYPE "string"          Type the ASCII string.
; TYPFILE filespec [mnemonic]      
;                        Type the contents of the specified file.  Replace
;                        CR/LFs with specified mnemonic.
; VLOCATE "string"       Same as LOCATE except cursor only moves vertically
;                        to the row where the search string was found.
; WAITFOR [NOT] "string" Wait until the string appears on the screen.  If NOT
;                        specified, wait until string is not on screen.
; WAITSCR                Wait until anything changes on the screen.
; WINCOLS start end      Limit screen reads and SHOWIN to the screen columns
;                        specified.
; WINMAX                 Remove row and column restraints imposed by WINCOLS
;                        and WINROWS.  Subsequent reads read the full screen.
; WINROWS start end      Limit screen reads and SHOWIN to the screen rows
;                        specified.
; :label                 Define a label.
;
