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


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

Created 7th November 2016, last changed 7th November 2016

IKDeviceBrowserPanel.SetSelectButtonLabel   -   IKDeviceBrowserPanel.SetWidth

Feedback: Report problem or ask question.

MBS Xojo Plugins