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
Sets the trigger to notify when new picture arrives.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 6.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
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" |
Returns OK or error.
Set trigger script:
Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetTrigger"; Get(FileName); "Scanner Dialog Trigger" )]
Import image in triggered script:
Set Variable [$Path; Value:Get(ScriptParameter)]
Set Variable [$Image; Value:MBS("Container.ReadFile"; $path)]
If [MBS("ISError") = 0]
New Record/Request
Set Field [ImageCapture Dialogs::Image; $Image]
Commit Records/Requests [No dialog]
End If
Clear trigger script:
Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetTrigger"; ""; "" )]
Created 7th November 2016, last changed 22nd December 2019
IKScannerDevicePanel.SetScannerDeviceName - IKScannerDevicePanel.SetWidth
Feedback: Report problem or ask question.