Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
IKDeviceBrowserPanel.SetTrigger
Sets the script trigger to notify on events.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 6.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "IKDeviceBrowserPanel.SetTrigger"; FileName; ScriptName ) More
Parameters
Parameter | Description | Example |
---|---|---|
FileName | The name of the FileMaker File that contains the script. | "test.fmp12" |
ScriptName | The name of the script to run. | "MyScript" |
Result
Returns OK or error.
Description
Sets the script trigger to notify on events.Script parameter will be Cancel, Select or Close depending what the user clicked.
Examples
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
- IKDeviceBrowserPanel.GetHeight
- IKDeviceBrowserPanel.GetMode
- IKDeviceBrowserPanel.GetPrompt
- IKDeviceBrowserPanel.GetWidth
- IKDeviceBrowserPanel.SelectedDeviceName
- IKDeviceBrowserPanel.SetHeight
- IKDeviceBrowserPanel.SetMode
- IKDeviceBrowserPanel.SetPrompt
- IKDeviceBrowserPanel.Show
- IKDeviceBrowserPanel.Visible
Example Databases
This function is free to use.
Created 7th November 2016, last changed 7th November 2016
IKDeviceBrowserPanel.SetSelectButtonLabel - IKDeviceBrowserPanel.SetWidth