Xerox -07W & -11W Printer User Manual


 
12-61
Creating A Script File
TCMP
Syntax: TCMP <delay> <row> <column> <string>
This will wait for the specified <string> to appear on the screen at the start location
specified by <row> and <column>, where
<delay> is the number of seconds to wait for the specified string. If the string is
received within the time period, the system flag is set to TRUE,
otherwise the flag is set to FALSE. The program then continues with the
next line. If the time delay value is zero, the program will wait
indefinitely until the string is matched.
<string> can be a literal string or a variable (including integer and floating point).
There is no case sensitivity.
Use the brf and brt commands to test for success or failure.
TITLE
Syntax: TITLE <string>
This enables you to change the title displayed in the title bar of the main window.
The specified title can be a string delimited by double quotes or a variable. An invalid
title will set the errno (error number) variable to 1.
TOOLBAR ADD
Syntax: TOOLBAR ADD <bitmap> <command>
This will add a button tool to the end of the current set of displayed buttons, where
<bitmap> is either a string containing the name of the bitmap file to use, or an
integer which relates to the standard defined toolbar bitmaps in the
order displayed in the Button Tools dialog box, the first being 0, the
second 1, etc.
<command> can be a key macro string (as described in The Toolbar chapter), or an
integer that relates to a standard command that is listed in the Button
Tools dialog box as follows:
0 New Connection dialog box
1 Open Session dialog box
2 Save Session As dialog box
3 Copy command
4 Paste command
5 File Transfer dialog box
6 Run Script dialog box
7 Printer Setup dialog box
8 Print Screen dialog box