Capture screen
Save a screenshot of the whole screen, all screens, a region or a window as a PNG, JPEG or BMP file.
Command in the Mouse and keyboard toolkit · id ooa.desktop/capture_screen · 10 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Image file to save. | |
| X | Number | No | Region left (whole screen when empty). | |
| Y | Number | No | Region top. | |
| Width | Number | No | Region width. | |
| Height | Number | No | Region height. | |
| Format | String | No | png | Image format. |
| Overwrite | Boolean | No | true | Replace an existing file; when false an existing file stops the step. |
| All screens | Boolean | No | false | Capture every monitor together instead of the main one (when no region or window is given). |
| Window | String | No | Capture only this window (title text, pattern with * or ?, or re:regex); x and y are then measured from the window and default to its whole area. | |
| Jpeg quality | Number | No | 90 | JPEG quality from 1 (smallest file) to 100 (best picture). |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved image path. |