Take Desktop Screenshot
Captures a full-page screenshot of the desktop and saves it to a specified directory. The screenshot can be named optionally, or a timestamped default name will be used.
Category: Desktop Application Automation · Group: General · Activity name: TakeScreenshotDesktop

Example
outputVariable = TakeScreenshotDesktop(directoryPath="<directoryPath>", optionalName="<optionalName>")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Directory Path | string | The path to the directory where the screenshot will be saved. If not provided, a temporary directory will be created. | ||
| Screenshot Name | string | The name of the screenshot file. If not provided, a default name will be generated. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | string | Specifies the name of the variable that will store the screenshot path. |