Sending text to, Virtual key names, Serial port functions – HP Neoware e140 Thin Client User Manual

Page 328: Writing text to a file, Teemtalk virtual key name functions, Sending text to a file, Sending text to the serial port

Advertising
background image

A-10

Virtual Key Names

TeemTalk Virtual Key Name Functions

TeemTalk provides additional virtual key name functions for special tasks such as
sending text to a file or the serial port, and reading text from a file to place in the
keyboard buffer as if typed.

Key Function

Virtual Key Name

Start Send Text sequence

VK_FILE_O

Start Read Text sequence

VK_FILE_I

End Send/Read Text sequence

VK_FEND

Delay (nnn = tenths of a second)

VK_SLEEPnnn

The following sections describe how to use these virtual key names.

Sending Text To A File

<VK_FILE_O><filename>data string<VK_FEND>

will write the data string to filename. If the file already exists it is replaced.

For example,

<VK_FILE_O><c:\file.txt>text to enter to file_013_010next

line of file<VK_FEND>

will create a file called file.txt containing the following two lines of text:

text to enter to file

next line of file

Sending Text To The Serial Port

The following command will send text to the serial port:

<VK_FILE_O><com1:>text to send to serial port_013_010next

line<VK_FEND>

which will result in the following being sent:

text to send to serial port<CR><LF>

next line

Advertising