Xerox -05W Printer User Manual


 
13-23
Dynamic Data Exchange
The CurPosStr function is an alternative string version of CurPos. This returns a
string of two three-digit decimal values for the X and Y coordinates in the form
xxx,yyy.
KeyStr
KeyStr is a straightforward POKE of data that is treated as a key macro to be
performed.
More than one macro definition can be specified in the same string. The string exam-
ple below will perform the function of the keys Alt + F4 pressed together followed
by the A key:
"<ALT+F4><A>"
KeyStr must be terminated with a CR LF NULL sequence to keep in line with the
CF_TEXT data format. Note however that these three characters will not get
dispatched through to the host.
KeyPress
Keypress is a straightforward POKE of data that will cause the function of a key to
be performed as if it had been pressed by an operator. The data is a string containing
the virtual key name of the required key. Refer to the Virtual Key Names appendix
for a list of key names that can be used.
This must be terminated with a CR LF NULL sequence to keep in line with the
CF_TEXT data format. Note however that these three characters will not get
dispatched through to the host.