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


Sets a close trigger.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 8.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "IKScannerDevicePanel.SetCloseTrigger"; FileName; ScriptName { ; Parameter } )   More


Parameter Description Example Flags
FileName The name of the FileMaker File that contains the script. "test.fmp12"
ScriptName The name of the script to run. "MyScript"
Parameter The optional script parameter. Optional


Returns OK or error.


Sets a close trigger.
This script will be called whenever the panel closes.
Either by code or by user clicking close button.
If the normal trigger run and you delayed work on the files, you can process them now.


Set close trigger script:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetCloseTrigger"; Get(FileName); "Scanner Dialog Close Trigger" )]

Clear close trigger script:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetCloseTrigger"; ""; "" )]

See also

Release notes

Blog Entries

This function is free to use.

Created 24th February 2018, last changed 26th February 2018

IKScannerDevicePanel.Reset - IKScannerDevicePanel.SetCombine