Message box
Show a message to the person at the screen with a choice of buttons and an icon; it can close by itself after some seconds.
Command in the Mouse and keyboard toolkit · id ooa.desktop/message_box · 7 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Message | String | Yes | Message text; it can be selected and copied. | |
| Title | String | No | Title shown in bold at the top and as the window's title; the agent's name when empty. | |
| Timeout (seconds) | Number | No | 0 | Close by itself after this many seconds, showing the time left; 0 waits for a button. |
| Buttons | String | No | ok | Buttons to show; Enter presses the first, Esc means cancel or no. |
| Icon | String | No | information | Icon next to the title; it also colours the top edge. |
| Scroll after lines | Number | No | 0 | Show the message in a scroll box when it has more lines than this; 0 never scrolls. |
| Always on top | Boolean | No | true | Keep the dialog in front of other windows. |
Outputs
| Output | Type | What it is |
|---|---|---|
| button | String | Button chosen: ok, cancel, yes or no; closed when the window was closed; timeout when it closed by itself. |