Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

IKScannerDevicePanel.SetCloseTrigger

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 } )

Parameters

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.

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


IKScannerDevicePanel.Reset   -   IKScannerDevicePanel.SetCombine

Feedback: Report problem or ask question.




Links
MBS FileMaker blog