Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets a close trigger.

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


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


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

Blog Entries

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

IKScannerDevicePanel.Reset   -   IKScannerDevicePanel.SetCombine

Feedback: Report problem or ask question.

MBS FileMaker Plugins