Screen: Take a screenshot and save to file

Take a screenshot and save to file.

Help Centre › Building Processes

Take a screenshot and save to file.

Add it to a process

In the process designer, open the Add step tab. Find Take a screenshot and save to file under Screen › Capture, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Save to path (.png)YesThe file path to save the screenshot to
VariableYesName of the variable where the result will be stored Default: screenshot_path.
TimestampNoOverlay the current date and time on the saved image Default: off.
Region (x,y,w,h)NoThe screen region to search in (x,y,width,height)

What it gives back

  • {screenshot_path} – Path to saved screenshot

See all Screen steps.

Errors

ErrorDescription
File write errorThe screenshot could not be saved to the specified path

Tips

  • Omit the region parameter to capture the full screen
  • Use the region parameter to capture only a specific area of the screen for smaller file sizes

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.