;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. ; CAPS Toggle the CAPS LOCK state from its current state to ; the opposite state. ; CAPS OFF Turn CAPS LOCK off. ; CAPS ON Turn CAPS LOCK on. ; CASE OFF Enables case-insensitive compares by WAITFOR and ; SEARCH. The initial mode is CASE ON. ; CASE ON Enables case-sensitive compares by WAITFOR and ; SEARCH. ; CLEAR Clear the screen. ; CURSOR col row Move the cursor to the specified coordinates. ; CURSX col Move the cursor to the specified column. ; CURSY row Move the cursor to the specified row. ; DELAY n Wait n seconds ; FAST Turns off SLOW mode if SLOW was invoked. ; 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. ; IFN label If condition set to N, go to label. ; IFY label If condition set to Y, go to label. ; INT9 Issue interrupt 9 (default mode). ; 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. ; 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, WAITCHG, WAITSCR ; and WAITFOR commands. Sets "Y/N" condition. ; NOINT9 Stop issuing interrupt 9s. ; ON n label Command will do nothing n times and on pass n+1, it ; will branch to label. ; ONRESET Reset the ON counter when terminating an ON loop ; early. ; PAUSE Causes the script to be paused as if Scroll Lock were ; pressed. ; QUIET Supresses messages to screen from EXC. ; QUIT Halt processing the script file. ; End-of-file on the script file issues an automatic ; QUIT. ; 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. ; SET n "string" Set variable n to value "string". ; SETWAIT nnn Wait nnn seconds before a WAITFOR, WAITCHG 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] SLOW mode can help you on slow CPUs or slow programs. ; Slower keying. ; 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 WAITCHG, 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 key mnemonic. ; VLOCATE "string" Same as LOCATE except cursor only moves vertically ; to the row where the search string was found. ; WAITCHG Wait for any change on the screen since the last ; READ was executed. ; WAITFOR [NOT] "string" Wait until the string appears on the screen. If NOT ; specified, wait until string is not on screen. ; WAITSCR Read the screen and wait for any subsequent screen ; changes. ; 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. ;