List the available displays with their index, position and size, so you know what to pass as 'display' to capture_screen.
Inputs
This action takes no inputs.
Outputs
Name
Type
Notes
displays
json
Capture a screen
capture_screen
Capture a whole display and save it as a PNG. display 0 captures every display combined (the full virtual desktop); 1, 2, ... capture one physical display (see list_displays).
Inputs
Name
Type
Required / default
Values and notes
out
path
optional, default ""
display
int
optional, default 0
prefix
string
optional, default screenshot
Outputs
Name
Type
Notes
file
path
width
int
height
int
Capture a region
capture_region
Capture a rectangular pixel region of the desktop (x, y, width, height, in absolute desktop coordinates) and save it as a PNG.