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: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the script trigger to notify on events.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImageCapture 6.5 Yes No No No No

MBS( "IKDeviceBrowserPanel.SetTrigger"; FileName; ScriptName )


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"


Returns OK or error.


Sets the script trigger to notify on events.
Script parameter will be Cancel, Select or Close depending what the user clicked.


Store selected scanner in triggered script:

Set Variable [$Param; Value:Get(ScriptParameter)]
If [$Param = "Select"]
    Set Variable [$name; Value:MBS("IKDeviceBrowserPanel.SelectedDeviceName")]
    Set Field [ImageCapture Dialogs::ScannerName; $name]
End If

Set trigger script:

Set Variable [$r; Value:MBS( "IKDeviceBrowserPanel.SetTrigger"; Get(FileName); "Scanner Selection Trigger" )]

See also

Example Databases

IKDeviceBrowserPanel.SetSelectButtonLabel   -   IKDeviceBrowserPanel.SetWidth

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos