
12-49
Creating A Script File
KINTERCEPT
Syntax:
KINTERCEPT <boolean>
When enabled, this command will cause all keystrokes entered by the terminal
operator to be intercepted and stored in a queue so that the script program can take
action on them using the
kraw
and
kact
commands. You should disable this function
before the script program is exited.
KPRESS
Syntax:
KPRESS <key identifier>
This command will cause the script program to perform the function of the key
identified by its reference number or virtual key name. Refer to the
Key Reference
Numbers
appendix for a list of valid key reference numbers, and the
Virtual Key
Names
appendix for a list of key names that can be used.
KRAW
Syntax:
KRAW <string>
When keyboard intercept is enabled by
kintercept
, the
kraw
command is used to
retrieve each keystroke in turn from the input queue so that it can either be processed,
accepted or rejected by the script program. A string can be intercepted by placing this
command in a loop.
Keystrokes are represented as virtual key names in the same format as a key macro.
For example:
"VK__F1"
the
F1
key has been pressed.
"A VK__F1"
the
F1
key has been pressed with the
Alt
key held down.
If a key has not been pressed then
kraw
will return a null string.
KRCV
Syntax:
KRCV IGNORE
KRCV PROCESS
KRCV HOLD
This command specifies what happens to characters received from the keyboard
while the script program is running.
When set to
ignore
, characters will be thrown away. When set to
process
, characters
will be processed as normal. When set to
hold
, characters will be held but not
actioned until a
krcv process
command is received, except for the
kget
and
kbd
commands, which will be processed. The
ignore
,
process
and
hold
settings can be
abbreviated to
I
,
P
, and
H
, respectively.
Содержание -05W
Страница 1: ...TeemTalk 05W 07W 11W User s Guide...
Страница 38: ...2 24 Getting Started Notes...
Страница 58: ...3 20 Keyboard Configuration Notes...
Страница 152: ...8 20 File Transfer Notes...
Страница 162: ...9 10 ICL FTF File Transfer Notes...
Страница 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...
Страница 336: ...C 6 Key Reference Numbers Notes...
Страница 360: ...E 16 Host Command Summary Notes...
Страница 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...