Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Screenshot 1.0 Yes Yes Yes No No
MBS( "Screenshot"; ScreenID; Format; Quality; Filename )   More


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 100. 80
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 ;

Put screenshot in field:

Set Variable [ $screenshot ; Value: MBS("Screenshot"; 0; "jpeg"; 90) ]
Set Field [ Contacts::Photo Container ; $screenshot ]

Created 18th August 2014, last changed 6th March 2019

Screen.Width   -   ScreenshotRect

Feedback: Report problem or ask question.

MBS FileMaker Plugins