MBS FileMaker Plugin Example Databases

Audio File Tags

All examples are included with download of MBS FileMaker Plugin.

Audio File Tags.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts5
Value Lists0
Custom Functions0
Custom Menus0
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
AudioTags
2 fields defined, 1 record
AudioTags

Fields

Table Name: AudioTags - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
JSONNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      FilePathNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

          Layout Objects: AudioTags

          Regular Fields

          Field Name: AudioTags::JSON
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 52 pt
          • Left: 138 pt
          • Bottom: 523 pt
          • Right: 619 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: AudioTags::FilePath
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 525 pt
          • Left: 138 pt
          • Bottom: 546 pt
          • Right: 619 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 File
          • Top: 56 pt
          • Left: 629 pt
          • Bottom: 99 pt
          • Right: 870 pt
          • Anchoring: Left, Top
          Perform Script [ “Select File” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Read Tags
          • Top: 106 pt
          • Left: 630 pt
          • Bottom: 149 pt
          • Right: 871 pt
          • Anchoring: Left, Top
          Perform Script [ “Read Tags” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Write Tags
          • Top: 156 pt
          • Left: 630 pt
          • Bottom: 199 pt
          • Right: 871 pt
          • Anchoring: Left, Top
          Perform Script [ “Write Tags” ]

          Scripts:


          Script Hierarchy

          Read Tags
          Colorize
          Write Tags
          Select File
          Clear

          Next Script: [Colorize]
          Script NameRead Tags
          Run script with full access privilegesOff
          Include In MenuYes
          Layouts that use this script
          Scripts that use this script
            Script Definition
            Script Steps
            • If [ Length ( AudioTags::FilePath ) = 0 ]
            • Perform Script [ “Select File” ]
            • End If
            • If [ Length ( AudioTags::FilePath ) > 0 ]
            • Set Variable [ $r; Value:MBS("Files.AudioTags"; AudioTags::FilePath) ]
            • If [ MBS("IsError") = 0 ]
            • Set Field [ AudioTags::JSON; MBS("JSON.Colorize"; MBS("JSON.Format"; $r)) ]
            • End If
            • 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: [Read Tags]Next Script: [Write Tags]
                  Script NameColorize
                  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: [Colorize]Next Script: [Select File]
                              Script NameWrite Tags
                              Run script with full access privilegesOff
                              Include In MenuYes
                              Layouts that use this script
                              Scripts that use this script
                                Script Definition
                                Script Steps
                                • If [ Length ( AudioTags::FilePath ) > 0 ]
                                • Set Variable [ $r; Value:MBS("Files.SetAudioTags"; AudioTags::FilePath; AudioTags::JSON) ]
                                • Show Custom Dialog [ Title: "Tags written"; Message: $r; 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: [Write Tags]Next Script: [Clear]
                                        Script NameSelect File
                                        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: [Select File]
                                                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 [ AudioTags::JSON; "" ]
                                                    • Set Field [ AudioTags::FilePath; "" ]
                                                    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: Audio File Tags

                                                            Used functions:




                                                            Links
                                                            MBS Xojo PDF Plugins