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


Sets script to call when new picture is added.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 10.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ImageCapture.SetItemsAddedScript"; FileName; ScriptName )   More


Parameter Description Example
FileName The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"


Returns OK or error.


Sets script to call when new picture is added.
The script is called and you get passed a JSON with an array of items.


Set NewFileAdded script to be triggered when picture is taken:

Set Variable [ $r ; Value: MBS( "ImageCapture.SetItemsAddedScript"; Get(FileName); "NewFileAdded" ) ]

Release notes

Blog Entries

This function checks for a license.

Created 27th August 2020, last changed 27th August 2020

ImageCapture.SetFeatureValue - ImageCapture.SetParameter