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
- Version 10.4
- Added ImageCapture.SetItemsAddedScript function.
Blog Entries
- What is new in the MBS FileMaker Plugin Version 10.4
- Neues MBS FileMaker Plugin 10.4
- MBS FileMaker Plugin 10.4 - More than 6300 Functions In One Plugin
- MBS FileMaker Plugin, version 10.4pr6
- Import images from cameras on MacOS with FileMaker
This function checks for a license.
Created 27th August 2020, last changed 27th August 2020