Prompt for value
Ask the user to type a value, optionally hidden as it is typed.
Command in the Mouse and keyboard toolkit · id ooa.desktop/prompt_value · 6 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Question | String | Yes | Question to show. | |
| Default | String | No | Pre-filled answer. | |
| Timeout (seconds) | Number | No | 0 | Give up 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. | |
| Masked | Boolean | No | false | Show dots instead of the typed characters. The value is still plain text; use Prompt for password for secrets. |
| Always on top | Boolean | No | true | Keep the dialog in front of other windows. |
Outputs
| Output | Type | What it is |
|---|---|---|
| value | String | Entered text. |
| cancelled | Boolean | True when the user cancelled or the prompt timed out. |
| timed_out | Boolean | True when nobody answered in time; value is then the default. |