Forum Discussion

DavidWoods's avatar
DavidWoods
Occasional Contributor
5 years ago

RE: Is there any way to capture a screenshot with control highlighted with red box?

For the above posting, the issue was with being able to screenshot on demand instead of screenshotting a massive project with way too much output.

 

I have turned-off the visualizer and instead added single calls to the following JavaScript code to take a screenshot:

 

function PictureToLog()
{
    var w = Sys.Desktop.Picture();
    Log.Picture(w, "Screen Image");
}

 

The above could be adapted to select a specific object and then screenshot only that instead of the whole desktop.

Hope this helps.

 

Regards

 

David Woods