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
Tables2
Relationships0
Layouts2
Scripts11
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutTwain
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
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 NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
EntryNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ManufacturerNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          ProductFamilyNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              ProductNameNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  SupportedGroupsNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      ProtocolMajorNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          IdNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              VersionMajorNumNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  VersionMinorNumNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      VersionLanguageNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          VersionCountryNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              VersionInfoNormal, TextAuto-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 NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
                                                  ImageNormal, BinaryAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                      XResolutionNormal, NumberAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          YResolutionNormal, NumberAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              ImageWidthNormal, NumberAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  ImageHeightNormal, NumberAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      SamplesPerPixelNormal, NumberAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          BitsPerPixelNormal, NumberAuto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              TimeStampNormal, TimestampAuto-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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesField FormatField BehaviorQuick 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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 PropertiesCoordinatesScript/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 NameFindDevices
                                                                                    Run script with full access privilegesOff
                                                                                    Include In MenuYes
                                                                                    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
                                                                                      • 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 NameInitTwain
                                                                                              Run script with full access privilegesOff
                                                                                              Include In MenuYes
                                                                                              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 NameGotImage
                                                                                                              Run script with full access privilegesOff
                                                                                                              Include In MenuNo
                                                                                                              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
                                                                                                                  • 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 NameGetCurrentDevice
                                                                                                                        Run script with full access privilegesOff
                                                                                                                        Include In MenuYes
                                                                                                                        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 NameSetCurrentDevice
                                                                                                                                        Run script with full access privilegesOff
                                                                                                                                        Include In MenuYes
                                                                                                                                        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 NameGetDefaultCurrentDevice
                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                  Include In MenuYes
                                                                                                                                                  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 NameSelectSource
                                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                                  Include In MenuYes
                                                                                                                                                                  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 NameAcquire
                                                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                                                  Include In MenuYes
                                                                                                                                                                                  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 NameAcquireFiles
                                                                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                                                                  Include In MenuYes
                                                                                                                                                                                                  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 NameAcquireNoGUI
                                                                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                                                                    Include In MenuYes
                                                                                                                                                                                                                    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 NameShow Files after Acquire
                                                                                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                                                                                    Include In MenuYes
                                                                                                                                                                                                                                    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: