WWScnCapture() Function
Capture the Screen to an individual image file. Only BMP file support.
Syntax
result = WWScnCapture(filename)
Parameters
filename
The path name and file name of the picture to store. A literal string value, message tagname, or string expression. UNC path names are supported.
Remarks
Do not save the image file to the directory which the intouch don’t have the write privilege, especially in Window 7 and above.
Return Value
A value indicating success or failure of the image capture:
1 – file is capture successfully
0 – file is not capture successfully. Possible causes by the system privilege problem.
Example(s)
This script capture the screen to the file c:\1.bmp and returns 1 if the capture operation is done.
Status= WWScnCapture(“c:\1.bmp”);