Skip to main content

Script Command Summary

Script Command Summary

The following table gives the list of available script commands, with links to the reference content for more details:

Command Action
break Transmit a break for those communications devices that support it
call script Exit the current script and start another
case match Indicate if the "wait for" string must match in case
closelog Close a log file
connect Force a host connection if not connected
debug Enable/disable debugging for scripts
disconnect Force a disconnect if connected
display Send text to the display
echo Turn on/off echo of incoming characters
execute Execute a Windows program
exit Exit the script
goto Transfer control to another place in the script
if empty Transfer control if last test string was empty
key_starttime Simulate key timing start
key_stoptime Simulate key timing stop
key_timer Turn key timing on and off
logfile Start a log file
multiwait for Wait for any of several strings from the communications device
notify Display a dialog box and wait for user response
on error Indicate label to branch to if timer fires
pause Pause the script
return Return from a subroutine in the script file
send Send text to the communications device
subroutine Call a subroutine in the script file
terminate Exit the emulator entirely
test Build a string to be tested
timer Control the timer for "wait for"
title Set the window title
wait for Wait for a particular string from the communications device

For reference information on these commands, see Script Command Reference.

FeedbackOpens in a new tab