Virtual Key Names
TeemTalk Virtual Key Name FunctionsTeemTalk 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
Start Send Text sequence Start Read Text sequence End Send/Read Text sequence Delay (nnn = tenths of a second)
Virtual Key Name
VK_FILE_O VK_FILE_I VK_FEND 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 PortThe 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