Search

Take Screenshot

Last Updated: Feb 14, 2022

Articles

Use this function to take screenshot of the currently active screen.

Syntax

Take Screenshot (screenshot_filename, screenshot_path)

Parameters

Input Parameter Name Description
screenshot_filename Name of the file in which screenshot is saved
screenshot_path Path of the file in which screenshot is saved

Returns

Return value Description
Path Filepath of the screenshot

Sample

Take Screenshot (ErrorMessage, C:\Images)

  • Takes screenshot of the active screen and saves in path C:\Images with filename ErrorMessage. Returns the filepath as C:\Images\ErrorMessage.png.

To view all the general functions, click here.

Did you find what you were looking for?