Help Centre › Building 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:
- Navigate to the process where you would like to add the SCREEN Take a screenshot function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the SCREEN Take a screenshot option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Save path | Yes | Text | - | The file path where the screenshot will be saved (.png) |
| Region | No | Array [x, y, w, h] | - | Capture only a specific region of the screen |
| Variable | No | Text | screenshot_path | The variable name to store the saved file path |
Output variables
The {screenshot_path} variable contains the file path of the saved screenshot.
Errors
| Error | Description |
|---|---|
| File write error | The 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