Hi there,
I am having the same problem regarding the capturing of the screen's area and searched a lot and finally got the answer. Hope that the solution which i got might be help you also so try your luck for the same. The code will capture the particular area of the screen defined by the user. Use this to resolve your issue. This will save the file in the .png format
The code is given below:
Code:
var as=new ActiveXObject("ActiveScreen.Capturer");
as.CaptureOval(100,50, 400);
var fs=as.SaveToFile("Capture.png");
WScript.Echo("Size = " + fs.toString() + "\n");
Bookmarks