Press key
Press Enter, Tab, Clear, a PF or PA key, and wait for the host to answer.
Command in the Terminal emulator toolkit · id ooa.terminal/send_key · 7 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Key | String | Yes | Enter, Tab, BackTab, Clear, Reset, EraseEOF, EraseInput, Home, Newline, Up, Down, Left, Right, BackSpace, Delete, Insert, FieldEnd, Dup, FieldMark, Attn, SysReq, PF1 to PF24 or PA1 to PA3. 5250 (IBM i) hosts also take FieldExit, Help, Print, PageUp and PageDown (Roll Down and Roll Up), but not PA keys or FieldMark. VT (SSH) hosts also take Escape, End, PageUp, PageDown and Ctrl+letter, e.g. Ctrl+C. | |
| Session | String | No | terminal | Session name. |
| Wait for host | Boolean | No | true | After keys that go to the host (Enter, PF, PA, Clear...), wait until it unlocks the keyboard. |
| Timeout (seconds) | Number | No | 30 | Seconds to wait for the host to unlock the keyboard after the key. |
| Repeat | Number | No | 1 | How many times to press the key, e.g. 3 x Tab. |
| Delay after (milliseconds) | Number | No | 0 | Extra pause after the key, in milliseconds. |
| Wait for text | String | No | Text that must appear on the screen after the key (waits up to timeout_seconds); no check when empty. |