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

MBS FileMaker Plugin Example Databases

Midi List Devices

All examples are included with download of MBS FileMaker Plugin.

Midi List Devices.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
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 layoutMidi List Devices
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenScript: Init
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Midi List Devices
7 fields defined, 0 record
Midi List Devices

Fields

Table Name: Midi List Devices - 7 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
IndexNormal, NumberAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      NameNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          InterfaceNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              InputNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  OutputNormal, NumberAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      OpenedNormal, NumberAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          DeviceCountNormal, NumberAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Global
                          • Repetitions: 1
                          • Index Language: German

                              Layout Objects: Midi List Devices

                              Regular Fields

                              Field Name: Midi List Devices::Index
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 6 pt
                              • Bottom: 63 pt
                              • Right: 85 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: Midi List Devices::Name
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 90 pt
                              • Bottom: 63 pt
                              • Right: 343 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: Midi List Devices::Interface
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 348 pt
                              • Bottom: 63 pt
                              • Right: 601 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: Midi List Devices::Input
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 606 pt
                              • Bottom: 63 pt
                              • Right: 685 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: Midi List Devices::Output
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 690 pt
                              • Bottom: 63 pt
                              • Right: 769 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: Midi List Devices::Opened
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 49 pt
                              • Left: 774 pt
                              • Bottom: 63 pt
                              • Right: 853 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: Midi List Devices::DeviceCount
                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                              • Top: 6 pt
                              • Left: 96 pt
                              • Bottom: 20 pt
                              • Right: 175 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

                              Script Hierarchy

                              Init

                              Script NameInit
                              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 [ $DeviceCount; Value:MBS("PortMidi.DeviceCount") ]
                                  • Set Field [ Midi List Devices::DeviceCount; $DeviceCount ]
                                  • Set Variable [ $index; Value:0 ]
                                  • If [ GetAsNumber($DeviceCount) > 0 ]
                                  • Loop
                                  • New Record/Request
                                  • Set Field [ Midi List Devices::Index; $index ]
                                  • Set Field [ Midi List Devices::Name; MBS("PortMidi.GetDeviceInfo"; $index; "Name") ]
                                  • Set Field [ Midi List Devices::Interface; MBS("PortMidi.GetDeviceInfo"; $index; "Interface") ]
                                  • Set Field [ Midi List Devices::Input; MBS("PortMidi.GetDeviceInfo"; $index; "Input") ]
                                  • Set Field [ Midi List Devices::Output; MBS("PortMidi.GetDeviceInfo"; $index; "Output") ]
                                  • Set Field [ Midi List Devices::Opened; MBS("PortMidi.GetDeviceInfo"; $index; "Opened") ]
                                  • Commit Records/Requests [ Skip data entry validation; No dialog ]
                                  • Set Variable [ $index; Value:$index + 1 ]
                                  • Exit Loop If [ $index ≥ $DeviceCount ]
                                  • End Loop
                                  • 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

                                          Download example: Midi List Devices

                                          Used functions: