# sendkcode

Sends the key code.

    sendkcode <key code> <repeat count>

## Remarks

Causes Tera Term to perform a function defined for pressing a key or key combination.
The key or key combination is specified by its <key code>, which is defined by KEYCODE.EXE. The function is performed <repeat count> times.

Usually the function means sending a character string to the host. The function can be defined in the keyboard setup file of Tera Term.
See KEYCODE.TXT.

## Example

    ; Simulate pressing the down-arrow key three times.
    ; The key code of the down-arrow key is 336 for the IBM PC keyboard.
    sendkcode 336 3