All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Screenshot

Component: Screenshot
Mac OS X: Works
Windows: Works

MBS( "Screenshot" ; ScreenID; Format; Quality; Filename )

Parameters

Parameter Description Example value
ScreenID Zero Based index of the screens. If blank "0" is assumed 0
Format The format of the file (currently only JPEG is supported) JPEG
Quality The quality of the image 512
Filename The desired file name MyCoolFile

Description

Takes a screenshot of the screen indicated by the "ScreenID" parameter. Use "Set Field" to set the result of this function into any container field. On PCs only the main monitor is supported, screen id 0.

Examples

Capture screen as JPEG:

Let(
[
/*-----------------PARAMETERS--------------------*/
ScreenID = 0;
Format = "JPEG";
Quality = 512;
Filename = "MyCoolFile"
];
/*-------------------FUNCTION----------------------*/
MBS(
" Screenshot ";
ScreenID ;
Format ;
Quality ;
Filename
)
)

Feedback: Report problem or ask question.