Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

IKScannerDevicePanel.SetCloseTrigger

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

Parameters

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

Result

Returns OK or error.

Description

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.

Examples

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

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


IKScannerDevicePanel.Reset - IKScannerDevicePanel.SetCombine

Feedback: Report problem or ask question.