Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

Twain

All examples are included with download of MBS FileMaker Plugin.

Twain.fmp12

Overview
Tables 2
Relationships 0
Layouts 2
Scripts 11
Value Lists 0
Custom Functions 0
Custom Menus 33
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Minimalistisch
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password On
Require iOS passcode Off
Show Sign-in fields Off
Switch to layout Twain
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Comments
Occurrences in Relationship Graph
Twain
12 fields defined, 0 record
Twain
Images
8 fields defined, 0 record
Images

Fields

Table Name: Twain - 12 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
Entry Normal, Text Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      Manufacturer Normal, Text Auto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          ProductFamily Normal, Text Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              ProductName Normal, Text Auto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  SupportedGroups Normal, Text Auto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      ProtocolMajor Normal, Text Auto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          Id Normal, Text Auto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              VersionMajorNum Normal, Text Auto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  VersionMinorNum Normal, Text Auto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      VersionLanguage Normal, Text Auto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          VersionCountry Normal, Text Auto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              VersionInfo Normal, Text Auto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German

                                                  Table Name: Images - 8 Fields
                                                  Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
                                                  Image Normal, Binary Auto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                      XResolution Normal, Number Auto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          YResolution Normal, Number Auto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              ImageWidth Normal, Number Auto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  ImageHeight Normal, Number Auto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      SamplesPerPixel Normal, Number Auto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          BitsPerPixel Normal, Number Auto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              TimeStamp Normal, Timestamp Auto-Enter:
                                                                              • Creation timestamp
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German

                                                                                    Layout Objects: Twain

                                                                                    Regular Fields

                                                                                    Field Name: Twain::Entry
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 72 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 91 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::Manufacturer
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 95 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 114 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::ProductFamily
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 118 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 137 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::ProductName
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 141 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 160 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::SupportedGroups
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 164 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 183 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::ProtocolMajor
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 187 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 206 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::Id
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 210 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 229 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::VersionMajorNum
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 233 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 252 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::VersionMinorNum
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 256 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 275 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::VersionLanguage
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 279 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 298 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::VersionCountry
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 302 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 321 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Twain::VersionInfo
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 325 pt
                                                                                    • Left: 134 pt
                                                                                    • Bottom: 344 pt
                                                                                    • Right: 387 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: Default for Data Type
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Buttons

                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Select this source
                                                                                    • Top: 73 pt
                                                                                    • Left: 428 pt
                                                                                    • Bottom: 104 pt
                                                                                    • Right: 621 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “SetCurrentDevice” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Initialize Twain
                                                                                    • Top: 12 pt
                                                                                    • Left: 13 pt
                                                                                    • Bottom: 43 pt
                                                                                    • Right: 162 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “InitTwain” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Find Devices
                                                                                    • Top: 12 pt
                                                                                    • Left: 169 pt
                                                                                    • Bottom: 43 pt
                                                                                    • Right: 318 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “FindDevices” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Get Current Device
                                                                                    • Top: 12 pt
                                                                                    • Left: 325 pt
                                                                                    • Bottom: 43 pt
                                                                                    • Right: 474 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “GetCurrentDevice” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Get Default Device
                                                                                    • Top: 12 pt
                                                                                    • Left: 481 pt
                                                                                    • Bottom: 44 pt
                                                                                    • Right: 630 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “GetDefaultCurrentDevice” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Select Source Dialog
                                                                                    • Top: 11 pt
                                                                                    • Left: 637 pt
                                                                                    • Bottom: 43 pt
                                                                                    • Right: 786 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “SelectSource” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Acquire
                                                                                    • Top: 10 pt
                                                                                    • Left: 793 pt
                                                                                    • Bottom: 42 pt
                                                                                    • Right: 942 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “Acquire” ]

                                                                                    Scripts:


                                                                                    Layout Objects: Images

                                                                                    Regular Fields

                                                                                    Field Name: Images::Image
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 66 pt
                                                                                    • Left: 360 pt
                                                                                    • Bottom: 503 pt
                                                                                    • Right: 973 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    No

                                                                                    Field Name: Images::XResolution
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 66 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 81 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::YResolution
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 84 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 99 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::ImageWidth
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 102 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 117 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::ImageHeight
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 120 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 135 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::SamplesPerPixel
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 138 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 153 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::BitsPerPixel
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 156 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 171 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Field Name: Images::TimeStamp
                                                                                    Field Properties Coordinates Field Format Field Behavior Quick Find
                                                                                    • Top: 174 pt
                                                                                    • Left: 102 pt
                                                                                    • Bottom: 189 pt
                                                                                    • Right: 355 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Field Format:
                                                                                    • Edit Box
                                                                                    Field Behavior:
                                                                                    • Allow field to be entered: In Find mode, In Browse mode
                                                                                    • Touch keyboard type: System Default
                                                                                    • Go to next field using: Tab key
                                                                                    Yes

                                                                                    Group Buttons

                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Select Source Dialog
                                                                                      Additional Properties:
                                                                                    • Change to hand cursor over button
                                                                                    • Rectangular
                                                                                    • Top: 12 pt
                                                                                    • Left: 13 pt
                                                                                    • Bottom: 37 pt
                                                                                    • Right: 162 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “SelectSource” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Acquire
                                                                                      Additional Properties:
                                                                                    • Change to hand cursor over button
                                                                                    • Rectangular
                                                                                    • Top: 12 pt
                                                                                    • Left: 181 pt
                                                                                    • Bottom: 37 pt
                                                                                    • Right: 330 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “Acquire” ]

                                                                                    Scripts:


                                                                                    Button Properties Coordinates Script/Script Step
                                                                                      Type:
                                                                                    • Text: Acquire without GUI
                                                                                      Additional Properties:
                                                                                    • Change to hand cursor over button
                                                                                    • Rectangular
                                                                                    • Top: 12 pt
                                                                                    • Left: 343 pt
                                                                                    • Bottom: 37 pt
                                                                                    • Right: 492 pt
                                                                                    • Anchoring: Left, Top
                                                                                    Perform Script [ “AcquireNoGUI”; Parameter: 1 ]

                                                                                    Scripts:


                                                                                    Script Hierarchy

                                                                                    FindDevices
                                                                                    InitTwain
                                                                                    GotImage
                                                                                    GetCurrentDevice
                                                                                    SetCurrentDevice
                                                                                    GetDefaultCurrentDevice
                                                                                    SelectSource
                                                                                    Acquire
                                                                                    AcquireFiles
                                                                                    AcquireNoGUI
                                                                                    Show Files after Acquire

                                                                                    Next Script: [InitTwain]
                                                                                    Script Name FindDevices
                                                                                    Run script with full access privileges Off
                                                                                    Siri Shortcut Visible Off
                                                                                    Include In Menu Yes
                                                                                    Layouts that use this script
                                                                                    Scripts that use this script
                                                                                      Script Definition
                                                                                      Script Steps
                                                                                      • Delete All Records [ No dialog ]
                                                                                      • Set Variable [ $count; Value:MBS("Twain.GetDSIdentitiesCount") ]
                                                                                      • If [ GetAsNumber($count)>0 ]
                                                                                      • Set Variable [ $index; Value:1 ]
                                                                                      • Loop [ Flush: Always ]
                                                                                      • New Record/Request
                                                                                      • Set Field [ Twain::Entry; "Device " & $index & " of " & $count ]
                                                                                      • Set Field [ Twain::Manufacturer; MBS("Twain.GetDSIdentity"; $index; "Manufacturer") ]
                                                                                      • Set Field [ Twain::ProductFamily; MBS("Twain.GetDSIdentity"; $index; "ProductFamily") ]
                                                                                      • Set Field [ Twain::ProductName; MBS("Twain.GetDSIdentity"; $index; "ProductName") ]
                                                                                      • Set Field [ Twain::SupportedGroups; MBS("Twain.GetDSIdentity"; $index; "SupportedGroups") ]
                                                                                      • Set Field [ Twain::ProtocolMajor; MBS("Twain.GetDSIdentity"; $index; "ProtocolMajor") ]
                                                                                      • Set Field [ Twain::Id; MBS("Twain.GetDSIdentity"; $index; "Id") ]
                                                                                      • Set Field [ Twain::VersionMajorNum; MBS("Twain.GetDSIdentity"; $index; "VersionMajorNum") ]
                                                                                      • Set Field [ Twain::VersionMinorNum; MBS("Twain.GetDSIdentity"; $index; "VersionMinorNum") ]
                                                                                      • Set Field [ Twain::VersionLanguage; MBS("Twain.GetDSIdentity"; $index; "VersionLanguage") ]
                                                                                      • Set Field [ Twain::VersionCountry; MBS("Twain.GetDSIdentity"; $index; "VersionCountry") ]
                                                                                      • Set Field [ Twain::VersionInfo; MBS("Twain.GetDSIdentity"; $index; "VersionInfo") ]
                                                                                      • Commit Records/Requests [ No dialog ]
                                                                                      • Exit Loop If [ $count = $index ]
                                                                                      • Set Variable [ $index; Value:$index +1 ]
                                                                                      • End Loop
                                                                                      • Else If [ $count = 0 ]
                                                                                      • Show Custom Dialog [ Message: "No TWAIN drivers."; Default Button: “OK”, Commit: “Yes” ]
                                                                                      • End If
                                                                                      Fields used in this script
                                                                                      Scripts used in this script
                                                                                        Layouts used in this script
                                                                                          Tables used in this script
                                                                                          Table occurrences used by this script
                                                                                          Custom Functions used by this script
                                                                                            Custom menu set used by this script

                                                                                              Previous Script: [FindDevices] Next Script: [GotImage]
                                                                                              Script Name InitTwain
                                                                                              Run script with full access privileges Off
                                                                                              Siri Shortcut Visible Off
                                                                                              Include In Menu Yes
                                                                                              Layouts that use this script
                                                                                              Scripts that use this script
                                                                                                Script Definition
                                                                                                Script Steps
                                                                                                • Set Variable [ $r; Value:MBS("Twain.Initialize"; "USA"; "ENGLISH") ]
                                                                                                • Show Custom Dialog [ Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                • Set Variable [ $r; Value:MBS("Twain.SetNotificationScript"; Get(FileName); "GotImage") ]
                                                                                                Fields used in this script
                                                                                                  Scripts used in this script
                                                                                                    Layouts used in this script
                                                                                                      Tables used in this script
                                                                                                        Table occurrences used by this script
                                                                                                          Custom Functions used by this script
                                                                                                            Custom menu set used by this script

                                                                                                              Previous Script: [InitTwain] Next Script: [GetCurrentDevice]
                                                                                                              Script Name GotImage
                                                                                                              Run script with full access privileges Off
                                                                                                              Siri Shortcut Visible Off
                                                                                                              Include In Menu No
                                                                                                              Layouts that use this script
                                                                                                                Scripts that use this script
                                                                                                                  Script Definition
                                                                                                                  Script Steps
                                                                                                                  • Go to Layout [ “Images” (Images) ]
                                                                                                                  • Go to Related Record [ From table: “Images”; Using layout: “Images” (Images) ]
                                                                                                                  • Loop [ Flush: Always ]
                                                                                                                  • New Record/Request
                                                                                                                  • Set Field [ Images::XResolution; MBS("Twain.ImageInfo"; "XResolution") ]
                                                                                                                  • Set Field [ Images::YResolution; MBS("Twain.ImageInfo"; "YResolution") ]
                                                                                                                  • Set Field [ Images::ImageWidth; MBS("Twain.ImageInfo"; "ImageWidth") ]
                                                                                                                  • Set Field [ Images::ImageHeight; MBS("Twain.ImageInfo"; "ImageHeight") ]
                                                                                                                  • Set Field [ Images::SamplesPerPixel; MBS("Twain.ImageInfo"; "SamplesPerPixel") ]
                                                                                                                  • Set Field [ Images::BitsPerPixel; MBS("Twain.ImageInfo"; "BitsPerPixel") ]
                                                                                                                  • Set Variable [ $img; Value:MBS("Twain.CurrentImage") ]
                                                                                                                  • If [ GetAsNumber ( $img ) >0 ]
                                                                                                                  • Set Field [ Images::Image; MBS("GMImage.WriteToPNGContainer"; $img) ]
                                                                                                                  • Set Variable [ $r; Value:MBS("GMImage.Destroy"; $img) ]
                                                                                                                  • End If
                                                                                                                  • Commit Records/Requests [ No dialog ]
                                                                                                                  • Set Variable [ $r; Value:MBS("Twain.GetImageCount") ]
                                                                                                                  • Exit Loop If [ $r = 0 ]
                                                                                                                  • End Loop
                                                                                                                  Fields used in this script
                                                                                                                  Scripts used in this script
                                                                                                                    Layouts used in this script
                                                                                                                    Tables used in this script
                                                                                                                    Table occurrences used by this script
                                                                                                                    Custom Functions used by this script
                                                                                                                      Custom menu set used by this script

                                                                                                                        Previous Script: [GotImage] Next Script: [SetCurrentDevice]
                                                                                                                        Script Name GetCurrentDevice
                                                                                                                        Run script with full access privileges Off
                                                                                                                        Siri Shortcut Visible Off
                                                                                                                        Include In Menu Yes
                                                                                                                        Layouts that use this script
                                                                                                                        Scripts that use this script
                                                                                                                          Script Definition
                                                                                                                          Script Steps
                                                                                                                          Fields used in this script
                                                                                                                            Scripts used in this script
                                                                                                                              Layouts used in this script
                                                                                                                                Tables used in this script
                                                                                                                                  Table occurrences used by this script
                                                                                                                                    Custom Functions used by this script
                                                                                                                                      Custom menu set used by this script

                                                                                                                                        Previous Script: [GetCurrentDevice] Next Script: [GetDefaultCurrentDevice]
                                                                                                                                        Script Name SetCurrentDevice
                                                                                                                                        Run script with full access privileges Off
                                                                                                                                        Siri Shortcut Visible Off
                                                                                                                                        Include In Menu Yes
                                                                                                                                        Layouts that use this script
                                                                                                                                        Scripts that use this script
                                                                                                                                          Script Definition
                                                                                                                                          Script Steps
                                                                                                                                          • Show Custom Dialog [ Title: "Set Current Data Source"; Message: MBS("Twain.SelectDSIdentity"; Twain::ProductName); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                          Fields used in this script
                                                                                                                                          Scripts used in this script
                                                                                                                                            Layouts used in this script
                                                                                                                                              Tables used in this script
                                                                                                                                              Table occurrences used by this script
                                                                                                                                              Custom Functions used by this script
                                                                                                                                                Custom menu set used by this script

                                                                                                                                                  Previous Script: [SetCurrentDevice] Next Script: [SelectSource]
                                                                                                                                                  Script Name GetDefaultCurrentDevice
                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                  Include In Menu Yes
                                                                                                                                                  Layouts that use this script
                                                                                                                                                  Scripts that use this script
                                                                                                                                                    Script Definition
                                                                                                                                                    Script Steps
                                                                                                                                                    Fields used in this script
                                                                                                                                                      Scripts used in this script
                                                                                                                                                        Layouts used in this script
                                                                                                                                                          Tables used in this script
                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                  Previous Script: [GetDefaultCurrentDevice] Next Script: [Acquire]
                                                                                                                                                                  Script Name SelectSource
                                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                                  Include In Menu Yes
                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                    Script Definition
                                                                                                                                                                    Script Steps
                                                                                                                                                                    • Set Variable [ $r; Value:MBS("Twain.SelectDS") ]
                                                                                                                                                                    • If [ $r ≠ "OK" ]
                                                                                                                                                                    • Show Custom Dialog [ Title: "Error Message"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                                                    • End If
                                                                                                                                                                    Fields used in this script
                                                                                                                                                                      Scripts used in this script
                                                                                                                                                                        Layouts used in this script
                                                                                                                                                                          Tables used in this script
                                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                                  Previous Script: [SelectSource] Next Script: [AcquireFiles]
                                                                                                                                                                                  Script Name Acquire
                                                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                                                  Include In Menu Yes
                                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                                    Script Definition
                                                                                                                                                                                    Script Steps
                                                                                                                                                                                    Fields used in this script
                                                                                                                                                                                      Scripts used in this script
                                                                                                                                                                                        Layouts used in this script
                                                                                                                                                                                          Tables used in this script
                                                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                                                  Previous Script: [Acquire] Next Script: [AcquireNoGUI]
                                                                                                                                                                                                  Script Name AcquireFiles
                                                                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                                                                  Include In Menu Yes
                                                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                                                      Script Definition
                                                                                                                                                                                                      Script Steps
                                                                                                                                                                                                      Fields used in this script
                                                                                                                                                                                                        Scripts used in this script
                                                                                                                                                                                                          Layouts used in this script
                                                                                                                                                                                                            Tables used in this script
                                                                                                                                                                                                              Table occurrences used by this script
                                                                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                                                                    Previous Script: [AcquireFiles] Next Script: [Show Files after Acquire]
                                                                                                                                                                                                                    Script Name AcquireNoGUI
                                                                                                                                                                                                                    Run script with full access privileges Off
                                                                                                                                                                                                                    Siri Shortcut Visible Off
                                                                                                                                                                                                                    Include In Menu Yes
                                                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                                                                      Script Definition
                                                                                                                                                                                                                      Script Steps
                                                                                                                                                                                                                      • Set Variable [ $r; Value:MBS("Twain.SetAutofeed"; 1) ]
                                                                                                                                                                                                                      • Set Variable [ $r; Value:MBS("Twain.SetFeededEnabled"; 1) ]
                                                                                                                                                                                                                      • Set Variable [ $r; Value:MBS("Twain.SetCloseAfterTransfer"; 1) ]
                                                                                                                                                                                                                      • Set Variable [ $r; Value:MBS("Twain.Acquire"; 0; 0) ]
                                                                                                                                                                                                                      • If [ $r ≠ "OK" ]
                                                                                                                                                                                                                      • Show Custom Dialog [ Title: "Error Message"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                                                                                                      • End If
                                                                                                                                                                                                                      Fields used in this script
                                                                                                                                                                                                                        Scripts used in this script
                                                                                                                                                                                                                          Layouts used in this script
                                                                                                                                                                                                                            Tables used in this script
                                                                                                                                                                                                                              Table occurrences used by this script
                                                                                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                                                                                    Previous Script: [AcquireNoGUI]
                                                                                                                                                                                                                                    Script Name Show Files after Acquire
                                                                                                                                                                                                                                    Run script with full access privileges Off
                                                                                                                                                                                                                                    Siri Shortcut Visible Off
                                                                                                                                                                                                                                    Include In Menu Yes
                                                                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                                                                        Script Definition
                                                                                                                                                                                                                                        Script Steps
                                                                                                                                                                                                                                        • Show Custom Dialog [ Message: MBS("Twain.GetFilePaths"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                                                                                                                        Fields used in this script
                                                                                                                                                                                                                                          Scripts used in this script
                                                                                                                                                                                                                                            Layouts used in this script
                                                                                                                                                                                                                                              Tables used in this script
                                                                                                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                                                                                                  Custom Functions used by this script
                                                                                                                                                                                                                                                    Custom menu set used by this script

                                                                                                                                                                                                                                                      Download example: Twain

                                                                                                                                                                                                                                                      Used functions: