Take Screenshot

This Automation Manager object takes a screen shot in PNG format and stores it in the current user's local data folder.



Input Parameters

Name Type Required Description
Save As String Yes The path where the screen shot PNG file will be stored.
Screen Selector Yes Used to select which screen will be used to take the screen shot from one of the following: Primary, Secondary, or Both.

Output Parameters

Name Type Description
ScreenshotPath String Path to the PNG file
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Save As String Yes C:\Folder1\screenshot.png
Screen Selector Yes Primary