Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Captures a still image using the camera.

Component Version macOS Windows Linux Server iOS SDK
ImagePicker 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "ImagePicker.TakePicture" )




Returns OK or error.


Captures a still image using the camera.
Use this method in conjunction to initiate the programmatic capture of a still image. This supports taking more than one picture without leaving the interface, but requires that you hide the default image picker controls.
Calling this method while an image is being captured has no effect. You must wait until the script trigger is run before you can capture another picture.
Calling this method when the source type of the image picker is set to a value other than Camera results in an error.

See also

This function is free to use.

Created 17th June 2017, last changed 18th June 2017

ImagePicker.StopVideoCapture - ImagePicker.VideoIsCompatibleWithSavedPhotosAlbum