Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Takes a screenshot of the screen indicated by the "ScreenID" parameter.

Component: Screenshot
Version: 1.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: No

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


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. From 0 to 1024. 512
Filename The desired file name MyCoolFile


Returns the image as a container value so you can assign it to a container.


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.
Updated for Mac OS X 10.7 in plugin version 2.5.


Capture screen as JPEG:

ScreenID = 0;
Format = "JPEG";
Quality = 512;
Filename = "MyCoolFile"
ScreenID ;
Format ;
Quality ;

Screen.Width   -   ScreenshotRect

Feedback: Report problem or ask question.

MBS REAL studio tutorial videos - Pfarrgemeinde Ministranten Nickenich