SCREEN Take a screenshot function

The SCREEN Take a screenshot function in RPA.

Help CentreBuilding Processes

This article describes the RPA Screen functionality to take a screenshot.

For a full list of available functions, please read SCREEN functions.


Description

The SCREEN Take a screenshot function captures the screen or a specified region and saves it as a PNG image file.


Setting it up

To use the SCREEN Take a screenshot function, follow these instructions:

{{popups:rpas/add:action=screen-screenshot}}

Once on a process map:

  1. Navigate to the process where you would like to add the SCREEN Take a screenshot function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the SCREEN Take a screenshot option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Save pathYesText-The file path where the screenshot will be saved (.png)
RegionNoArray [x, y, w, h]-Capture only a specific region of the screen
VariableNoTextscreenshot_pathThe variable name to store the saved file path

Output variables

The {screenshot_path} variable contains the file path of the saved screenshot.


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

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.