Take screenshot Version 7 (Net) 

Action group: Base actions


Description

This action is intended to take a screenshot of the screen

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
FolderScreenshot saving folderRobin.FolderPathC:\doc\imgYes
File nameThe name of the file to which the screenshot will be savedRobin.String
Yes
FormatScreenshot file formatRobin.String
Yes
TypeScreenshot areaRobin.String
Yes
Arbitrary rectangular areaScreenshot area location and sizeRobin.RectangleL ocation
No
OverwriteOverwriting the file when the name in the folder matches.Robin.BooleantrueNo
Results
ResultPath to the saved screenshotRobin.ImageC:\doc\img.png

Special conditions of use

None.

Example of use 

Task

Take a screenshot of the active window in JPEG format and place the screenshot in a folder.

Solution

Use the "Take screenshot" action.

Implementation

  1. Move the "Take screenshot" action to the workspace and customize its parameters: specify the folder where the screenshot will be saved, file name, format - JPEG, type - active window. 



  2. Launch the robot using the "Start" button in the top panel.

Result

The robot completed successfully. 

The screenshot taken is saved to the specified folder.




  • Нет меток