Type text
nvda_type_textTypes one line of Unicode text into the focused control without using the clipboard, enabling text entry regardless of keyboard layout after focusing an edit field.
Instructions
Type text into the focused control, as if typed on the keyboard, without touching the clipboard.
Focus an edit field first (nvda_find_objects then nvda_focus_object, or nvda_press_keys). Characters are sent as Unicode, so the keyboard layout does not matter. Some games and remote desktop windows ignore this kind of input; use nvda_press_keys there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | One line of text to type. Any language and emoji work. Press enter separately. | |
| record | No | Also record what this action changed: how the accessibility tree around it changed (controls added, removed, renamed or moved, values and states) and the events NVDA handled. NVDA is silent for up to a few seconds while the tree is read. For something the user does, use nvda_trace_events with tree. | |
| delay_ms | No | Pause between characters. Leave at 0 unless an application drops characters. | |
| settle_ms | No | Stop listening once NVDA has been quiet this long. | |
| timeout_ms | No | Stop listening, or waiting for until_speech, after this long in total. | |
| until_speech | No | Keep listening until NVDA says something containing this text (ignoring case), such as 'sent' or a dialog title, instead of stopping at the first pause. The result says whether it was heard. | |
| record_within | No | Record only inside this control, an id from nvda_find_objects, such as a chat's message list. Implies record. By default the web document or window around the action is recorded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |