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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets the script to trigger when scan is done.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DocumentCameraScan | 10.0 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Filename | The database file name where the script is located. | "test.fmp12" |
ScriptName | The script name. | "MyScript" |
Returns OK or error.
Script may look like this:
Set Variable [ $param ; Value: Get(ScriptParameter) ]
If [ $param = "Error" ]
Show Custom Dialog [ "Failed to scan" ; MBS( "DocumentCameraScan.ErrorMessage" ) ]
Else If [ $param = "Scan" ]
Perform Script [ Specified: From list ; “Import” ; Parameter: ]
Else If [ $param = "Cancel" ]
# do nothing
End If
This function checks for a license.
Created 6th January 2020, last changed 13th November 2021