Utilities

Take Screenshot

This activity allows to take screenshots (full screen and/or individual applications) and save it in a given place.

Enter the path to folder where the screenshots should be located. The captured images have a .png extension. Files with screenshots have a schematic naming: each file starts with the application name separated by the underscore character from the original file name. Activity does not take into account application windows from Windows Store and chosen applications from Windows 10 (like games, movies and TV).

The activity first takes a screenshot of the entire screen, and then the windows of individual applications (the restore action is performed and the application window is placed in the foreground). You can choose to take only a screenshot of the entire screen (checkbox at the bottom of the activity block).

When folder pointed in Save path does not exist – Wizlink® creates it.

takescren
Parameter nameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
Folder PathStringInputfull path to a folder (D:\directory_tree\)
OnlyFullscreenBooleanInputcheckbox; default is "off", when "on" - activity takes only one screenshot (full screen)
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities