Switch to window
nvda_activate_windowActivates a window by title or handle, restores it if minimized, and reports NVDA's spoken output and new focus.
Instructions
Bring a window to the front, restoring it if minimized, then report what NVDA said and the new focus.
Pass title_contains or handle. If several titles match, the first in nvda_list_windows order wins and the others are listed. This counts as controlling the computer, like nvda_press_keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | A window handle from nvda_list_windows. | |
| 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. | |
| title_contains | No | Part of the window title, ignoring case, such as 'mwMod' or 'Notepad'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |