Xerox -05W Printer User Manual


 
12-2
Creating A Script File
TeemTalk for Windows 95 & NT
To specify the name of the script file in the TT*W.INI private profile file (where * is
your version of TeemTalk, e.g. 07 for TeemTalk-07W) , use a text editor to insert the
following line under the command group headed [startup,default] , separating it
from the next command group by a blank line:
scriptfile=filename
For example, to initiate the script file named LOGON, the session command group
would include the following line:
scriptfile=LOGON
Using A Command Line Option
To specify the name of the script file in the Program Item Properties dialog box,
click the TeemTalk icon once to select it, then select File and Properties in the
Program Manager window. In the Command Line text box, type a space after
TT07W.EXE, then the characters -sc immediately followed by the name of the script
file. For example, to initiate the script file named LOGON, the command line for
TeemTalk-07W would read as follows:
C:\TEEMTALK\TT07W.EXE -scLOGON
Using The File Menu
The Run Script option in the File menu displays a dialog box in which you specify
the name of the script file to run. Note that any parameters (refer to the section
entitled Assigning Values To Variables) are not enclosed by parentheses. Clicking
the Ok button after entering the name of the file will close the dialog box and the
script file will be initiated.
You can cancel the initiated script file by selecting the Cancel Script option which
replaces Run Script while a script is running.
Refer to the description of the File menu in the Setup Menus chapter for more
information.
Using A Key Or Button Definition
You can program a key or button to run a script file when pressed by enclosing the
name of the script file plus any parameters (refer to the section entitled Assigning
Values To Variables) within the <' (left angle bracket and single quote) and '>
(single quote and right angle bracket) characters.