MBS FileMaker Plugin Example Databases

MatrixDongle

All examples are included with download of MBS FileMaker Plugin.

MatrixDongle.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
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 layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
MatrixDongle
13 fields defined, 1 record
MatrixDongle

Fields

Table Name: MatrixDongle - 13 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
LibraryPathMacNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      LibraryPathWinNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Global
      • Repetitions: 1
      • Index Language: German
          FindResultNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              CountResultNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  MemorySizeNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      ModelNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          VersionNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              DriverVersionNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  VersionAPINormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      UserCodeNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Global
                                      • Repetitions: 1
                                      • Index Language: German
                                          TextWriteNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              TextReadNormal, TextAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  SerialNumberNormal, TextAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German

                                                      Layout Objects: MatrixDongle

                                                      Regular Fields

                                                      Field Name: MatrixDongle::LibraryPathMac
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 6 pt
                                                      • Left: 138 pt
                                                      • Bottom: 20 pt
                                                      • Right: 391 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: MatrixDongle::FindResult
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 78 pt
                                                      • Left: 138 pt
                                                      • Bottom: 92 pt
                                                      • Right: 391 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: MatrixDongle::CountResult
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 96 pt
                                                      • Left: 138 pt
                                                      • Bottom: 110 pt
                                                      • Right: 391 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: MatrixDongle::MemorySize
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 114 pt
                                                      • Left: 138 pt
                                                      • Bottom: 128 pt
                                                      • Right: 391 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: MatrixDongle::Model
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 132 pt
                                                      • Left: 138 pt
                                                      • Bottom: 146 pt
                                                      • Right: 391 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: MatrixDongle::Version
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 150 pt
                                                      • Left: 138 pt
                                                      • Bottom: 164 pt
                                                      • Right: 391 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: MatrixDongle::DriverVersion
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 168 pt
                                                      • Left: 138 pt
                                                      • Bottom: 182 pt
                                                      • Right: 391 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: MatrixDongle::VersionAPI
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 186 pt
                                                      • Left: 138 pt
                                                      • Bottom: 200 pt
                                                      • Right: 391 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: MatrixDongle::UserCode
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 54 pt
                                                      • Left: 138 pt
                                                      • Bottom: 68 pt
                                                      • Right: 217 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: MatrixDongle::TextWrite
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 204 pt
                                                      • Left: 138 pt
                                                      • Bottom: 218 pt
                                                      • Right: 391 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: MatrixDongle::TextRead
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 234 pt
                                                      • Left: 138 pt
                                                      • Bottom: 248 pt
                                                      • Right: 391 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: MatrixDongle::SerialNumber
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 264 pt
                                                      • Left: 138 pt
                                                      • Bottom: 278 pt
                                                      • Right: 391 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: MatrixDongle::LibraryPathWin
                                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                      • Top: 24 pt
                                                      • Left: 138 pt
                                                      • Bottom: 38 pt
                                                      • Right: 391 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

                                                      Group Buttons

                                                      Button PropertiesCoordinatesScript/Script Step
                                                        Type:
                                                      • Text: Initialize
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Rectangular
                                                      • Top: 12 pt
                                                      • Left: 414 pt
                                                      • Bottom: 37 pt
                                                      • Right: 529 pt
                                                      • Anchoring: Left, Top
                                                      Perform Script [ “Initialize” ]

                                                      Scripts:


                                                      Button PropertiesCoordinatesScript/Script Step
                                                        Type:
                                                      • Text: Find
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Rectangular
                                                      • Top: 78 pt
                                                      • Left: 414 pt
                                                      • Bottom: 103 pt
                                                      • Right: 529 pt
                                                      • Anchoring: Left, Top
                                                      Perform Script [ “Find” ]

                                                      Scripts:


                                                      Button PropertiesCoordinatesScript/Script Step
                                                        Type:
                                                      • Text: Write Text
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Rectangular
                                                      • Top: 204 pt
                                                      • Left: 414 pt
                                                      • Bottom: 229 pt
                                                      • Right: 529 pt
                                                      • Anchoring: Left, Top
                                                      Show Custom Dialog [ Title: "Write"; Message: MBS( "MatrixDongle.WriteText"; MatrixDongle::UserCode; MatrixDongle::TextWrite; "UTF8"); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]

                                                      Fields:


                                                      Button PropertiesCoordinatesScript/Script Step
                                                        Type:
                                                      • Text: Read Text
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Rectangular
                                                      • Top: 234 pt
                                                      • Left: 414 pt
                                                      • Bottom: 259 pt
                                                      • Right: 529 pt
                                                      • Anchoring: Left, Top
                                                      Set Field [ MatrixDongle::TextRead; MBS( "MatrixDongle.ReadText"; MatrixDongle::UserCode; 0; 60; "utf8") ]

                                                      Fields:


                                                      Button PropertiesCoordinatesScript/Script Step
                                                        Type:
                                                      • Text: Read Serial
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Rectangular
                                                      • Top: 264 pt
                                                      • Left: 414 pt
                                                      • Bottom: 289 pt
                                                      • Right: 529 pt
                                                      • Anchoring: Left, Top
                                                      Set Field [ MatrixDongle::SerialNumber; MBS( "MatrixDongle.ReadSerialNumber"; MatrixDongle::UserCode) ]

                                                      Fields:


                                                      Script Hierarchy

                                                      Initialize
                                                      Find
                                                      Clear

                                                      Next Script: [Find]
                                                      Script NameInitialize
                                                      Run script with full access privilegesOff
                                                      Include In MenuYes
                                                      Layouts that use this script
                                                      Scripts that use this script
                                                        Script Definition
                                                        Script Steps
                                                        • If [ MBS( "SystemInfo.isMacOSX" ) = 1 ]
                                                        • Set Variable [ $path; Value:MatrixDongle::LibraryPathMac ]
                                                        • Else
                                                        • Set Variable [ $path; Value:MatrixDongle::LibraryPathWin ]
                                                        • End If
                                                        • Set Variable [ $r; Value:MBS("MatrixDongle.Initialize"; $path) ]
                                                        • If [ MBS("iserror") ]
                                                        • Show Custom Dialog [ Title: "Failed to initialize"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                                        • Else
                                                        • Show Custom Dialog [ Title: "Initialize OK"; Message: "The dongle functions are ready to use."; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, 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: [Initialize]Next Script: [Clear]
                                                                Script NameFind
                                                                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: [Find]
                                                                          Script NameClear
                                                                          Run script with full access privilegesOff
                                                                          Include In MenuYes
                                                                          Layouts that use this script
                                                                            Scripts that use this script
                                                                              Script Definition
                                                                              Script Steps
                                                                              • Set Field [ MatrixDongle::FindResult; "" ]
                                                                              • Set Field [ MatrixDongle::CountResult; "" ]
                                                                              • Set Field [ MatrixDongle::MemorySize; "" ]
                                                                              • Set Field [ MatrixDongle::Model; "" ]
                                                                              • Set Field [ MatrixDongle::Version; "" ]
                                                                              • Set Field [ MatrixDongle::DriverVersion; "" ]
                                                                              • Set Field [ MatrixDongle::VersionAPI; "" ]
                                                                              • Set Field [ MatrixDongle::TextWrite; "" ]
                                                                              • Set Field [ MatrixDongle::TextRead; "" ]
                                                                              • Set Field [ MatrixDongle::SerialNumber; "" ]
                                                                              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: MatrixDongle

                                                                                      Used functions:




                                                                                      Links
                                                                                      MBS Xojo Plugins