Skip to main content

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​

InputTypeRequiredDefaultWhat it is
PathFileYesImage file to save.
XNumberNoRegion left (whole screen when empty).
YNumberNoRegion top.
WidthNumberNoRegion width.
HeightNumberNoRegion height.
FormatStringNopngImage format.
OverwriteBooleanNotrueReplace an existing file; when false an existing file stops the step.
All screensBooleanNofalseCapture every monitor together instead of the main one (when no region or window is given).
WindowStringNoCapture 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 qualityNumberNo90JPEG quality from 1 (smallest file) to 100 (best picture).

Outputs​

OutputTypeWhat it is
pathFileSaved image path.