MBS FileMaker Plugin Example Databases

Hash Digest

All examples are included with download of MBS FileMaker Plugin.

Hash Digest.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
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
Hash Digest
10 fields defined, 6 records
Hash Digest

Fields

Table Name: Hash Digest - 10 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
AlgorithmNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      Input TypeNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          Input Text DataNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              Input ContainerNormal, BinaryAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
                  Input EncodingNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      Output TypeNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          Output InfoNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              HashTextNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  HashContainerNormal, BinaryAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                      DescriptionNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German

                                            Layout Objects: Hash Digest

                                            Regular Fields

                                            Field Name: Hash Digest::Algorithm
                                            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
                                            Yes

                                            Field Name: Hash Digest::Input Type
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 42 pt
                                            • Left: 138 pt
                                            • Bottom: 56 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: Hash Digest::Input Text Data
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 60 pt
                                            • Left: 138 pt
                                            • Bottom: 74 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: Hash Digest::Input Container
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 78 pt
                                            • Left: 138 pt
                                            • Bottom: 203 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: Hash Digest::Input Encoding
                                            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: Hash Digest::Output Type
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 222 pt
                                            • Left: 138 pt
                                            • Bottom: 236 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: Hash Digest::Output Info
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 240 pt
                                            • Left: 138 pt
                                            • Bottom: 254 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: Hash Digest::HashText
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 258 pt
                                            • Left: 138 pt
                                            • Bottom: 308 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: Hash Digest::HashContainer
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 312 pt
                                            • Left: 138 pt
                                            • Bottom: 437 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: Hash Digest::Description
                                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                            • Top: 438 pt
                                            • Left: 138 pt
                                            • Bottom: 488 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

                                            Group Buttons

                                            Button PropertiesCoordinatesScript/Script Step
                                              Type:
                                            • Text: Calculate Hash
                                              Additional Properties:
                                            • Change to hand cursor over button
                                            • Rectangular
                                            • Top: 48 pt
                                            • Left: 426 pt
                                            • Bottom: 73 pt
                                            • Right: 535 pt
                                            • Anchoring: Left, Top
                                            Perform Script [ “Run” ]

                                            Scripts:


                                            Script Hierarchy

                                            Run
                                            Clear

                                            Next Script: [Clear]
                                            Script NameRun
                                            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 [ $InputData; Value:Hash Digest::Input Text Data ]
                                              • If [ Length($InputData) = 0 ]
                                              • Set Variable [ $InputData; Value:Hash Digest::Input Container ]
                                              • End If
                                              • Set Variable [ $r; Value:MBS( "Hash.Digest"; Hash Digest::Algorithm; Hash Digest::Input Type; $InputData; Hash Digest::Input Encoding; Hash Digest::Output Type; Hash Digest::Output Info ) ]
                                              • If [ MBS("IsError") ]
                                              • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                              • Else
                                              • Set Field [ Hash Digest::HashText; $r ]
                                              • Set Field [ Hash Digest::HashContainer; $r ]
                                              • 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: [Run]
                                                      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
                                                          • Go to Record/Request/Page [ First ]
                                                          • Loop
                                                          • Set Field [ Hash Digest::HashText; "" ]
                                                          • Set Field [ Hash Digest::HashContainer; "" ]
                                                          • Go to Record/Request/Page [ Next; Exit after last ]
                                                          • End Loop
                                                          • Go to Record/Request/Page [ First ]
                                                          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: Hash Digest

                                                                  Used functions:




                                                                  Links
                                                                  MBS Xojo Plugins