Prompt for yes/no
Ask the user a yes/no question.
Command in the Mouse and keyboard toolkit · id ooa.desktop/prompt_yes_no · 5 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Question | String | Yes | Question to show. | |
| Timeout (seconds) | Number | No | 0 | Answer No after this many seconds; 0 waits. |
| Title | String | No | Title shown in bold at the top and as the window's title; the agent's name when empty. | |
| Always on top | Boolean | No | true | Keep the dialog in front of other windows. |
| Answer on timeout | Boolean | No | false | Answer used when the prompt times out or is closed without a choice. |
Outputs
| Output | Type | What it is |
|---|---|---|
| answer | Boolean | True for Yes. |
| timed_out | Boolean | True when nobody answered before the timeout (or the window was closed). |