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

ImageCapture.SetItemsAddedScript

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

Parameters

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

Result

Returns OK or error.

Description

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

Examples

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