Save Screen Capture Activity
The Save Screen Capture activity enables users to capture a screenshot of the entire screen or a specified region. This activity saves the captured image to a designated file path, supporting various common image formats.
| Field | Description | Requirement |
|---|---|---|
| File name | The full path and file name, including extension, where the screenshot will be saved. | Required |
| X-coordinate | The horizontal starting position (in pixels) for a partial screen capture. Requires Y-coordinate, Width, and Height to be specified. | Optional |
| Y-coordinate | The vertical starting position (in pixels) for a partial screen capture. Requires X-coordinate, Width, and Height to be specified. | Optional |
| Width | The width (in pixels) of the area to capture for a partial screenshot. Requires X-coordinate, Y-coordinate, and Height to be specified. | Optional |
| Height | The height (in pixels) of the area to capture for a partial screenshot. Requires X-coordinate, Y-coordinate, and Width to be specified. | Optional |
Action Types & Examples
File name
- Format: [string]
- Example Result:
"C:Robustarobusta.png"
X-coordinate
- Format: [integer]
- Example Result:
"68"
Y-coordinate
- Format: [integer]
- Example Result:
"347"
Width
- Format: [integer]
- Example Result:
"120"
Height
- Format: [integer]
- Example Result:
"35"
Implementation Examples
Field Setup - File name: C:Robustarobusta.png - X-coordinate: 68 - Y-coordinate: 347 - Width: 120 - Height: 35
Execution Parameters - fileName: "C:Robustarobusta.png" - xCoord: 68 - yCoord: 347 - width: 120 - height: 35
Technical Notes
Supported image file types include
.png,.jpg, and.jpeg. When specifying a partial screen capture, the values for X-coordinate, Y-coordinate, Width, and Height must be integers. If any of these four fields are populated, all four must be provided to define the capture area correctly.