MBS FileMaker Plugin Example Databases

AVRecorder Devices

All examples are included with download of MBS FileMaker Plugin.

AVRecorder Devices.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 layoutAVRecorder Devices
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenScript: Update
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
AVRecorder Devices
11 fields defined, 4 records
AVRecorder Devices

Fields

Table Name: AVRecorder Devices - 11 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
IndexNormal, 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
          NameNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              DescriptionNormal, 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
                      ModelIDNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          TransportTypeNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              ConnectedNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  inUseByAnotherApplicationNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      suspendedNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          TypeNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German

                                              Layout Objects: AVRecorder Devices

                                              Regular Fields

                                              Field Name: AVRecorder Devices::Index
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 54 pt
                                              • Left: 138 pt
                                              • Bottom: 68 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: AVRecorder Devices::ID
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 90 pt
                                              • Left: 138 pt
                                              • Bottom: 104 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: AVRecorder Devices::Name
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 108 pt
                                              • Left: 138 pt
                                              • Bottom: 122 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: AVRecorder Devices::Description
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 144 pt
                                              • Left: 138 pt
                                              • Bottom: 158 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: AVRecorder Devices::Manufacturer
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 174 pt
                                              • Left: 138 pt
                                              • Bottom: 188 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: AVRecorder Devices::ModelID
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 192 pt
                                              • Left: 138 pt
                                              • Bottom: 206 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: AVRecorder Devices::TransportType
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 210 pt
                                              • Left: 138 pt
                                              • Bottom: 224 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: AVRecorder Devices::Connected
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 228 pt
                                              • Left: 138 pt
                                              • Bottom: 242 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: AVRecorder Devices::inUseByAnotherApplication
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 246 pt
                                              • Left: 138 pt
                                              • Bottom: 260 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: AVRecorder Devices::suspended
                                              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: AVRecorder Devices::Type
                                              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                              • Top: 72 pt
                                              • Left: 138 pt
                                              • Bottom: 86 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: Update List
                                                Additional Properties:
                                              • Change to hand cursor over button
                                              • Rectangular
                                              • Top: 12 pt
                                              • Left: 18 pt
                                              • Bottom: 37 pt
                                              • Right: 133 pt
                                              • Anchoring: Left, Top
                                              Perform Script [ “Update” ]

                                              Scripts:


                                              Script Hierarchy

                                              Update
                                              Clear

                                              Next Script: [Clear]
                                              Script NameUpdate
                                              Run script with full access privilegesOff
                                              Include In MenuYes
                                              Layouts that use this script
                                              Scripts that use this script
                                                Script Definition
                                                Script Steps
                                                • # init
                                                • Set Variable [ $recorder; Value:MBS("AVRecorder.Init") ]
                                                • Delete All Records [ No dialog ]
                                                • # audio
                                                • Set Variable [ $count; Value:MBS("AVRecorder.AudioDeviceCount"; $recorder) ]
                                                • If [ $count > 0 ]
                                                • Set Variable [ $index; Value:0 ]
                                                • Loop
                                                • # next
                                                • New Record/Request
                                                • Set Field [ AVRecorder Devices::Index; $index ]
                                                • Set Field [ AVRecorder Devices::ID; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "ID") ]
                                                • Set Field [ AVRecorder Devices::Name; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "Name") ]
                                                • Set Field [ AVRecorder Devices::Description; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "Description") ]
                                                • If [ MBS("SystemInfo.isMacOSX") ]
                                                • Set Field [ AVRecorder Devices::Manufacturer; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "manufacturer") ]
                                                • Set Field [ AVRecorder Devices::ModelID; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "modelID") ]
                                                • Set Field [ AVRecorder Devices::TransportType; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "transportType") ]
                                                • Set Field [ AVRecorder Devices::Connected; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "connected") ]
                                                • Set Field [ AVRecorder Devices::inUseByAnotherApplication; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "inUseByAnotherApplication") ]
                                                • Set Field [ AVRecorder Devices::suspended; MBS("AVRecorder.AudioDeviceInfo"; $recorder; $index; "suspended") ]
                                                • End If
                                                • Set Field [ AVRecorder Devices::Type; "Audio" ]
                                                • Commit Records/Requests
                                                • Set Variable [ $index; Value:$index + 1 ]
                                                • Exit Loop If [ $count = $index ]
                                                • End Loop
                                                • End If
                                                • # video
                                                • Set Variable [ $count; Value:MBS("AVRecorder.VideoDeviceCount"; $recorder) ]
                                                • If [ $count > 0 ]
                                                • Set Variable [ $index; Value:0 ]
                                                • Loop
                                                • # next
                                                • New Record/Request
                                                • Set Field [ AVRecorder Devices::Index; $index ]
                                                • Set Field [ AVRecorder Devices::ID; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "ID") ]
                                                • Set Field [ AVRecorder Devices::Name; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "Name") ]
                                                • Set Field [ AVRecorder Devices::Description; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "Description") ]
                                                • If [ MBS("SystemInfo.isMacOSX") ]
                                                • Set Field [ AVRecorder Devices::Manufacturer; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "manufacturer") ]
                                                • Set Field [ AVRecorder Devices::ModelID; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "modelID") ]
                                                • Set Field [ AVRecorder Devices::TransportType; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "transportType") ]
                                                • Set Field [ AVRecorder Devices::Connected; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "connected") ]
                                                • Set Field [ AVRecorder Devices::inUseByAnotherApplication; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "inUseByAnotherApplication") ]
                                                • Set Field [ AVRecorder Devices::suspended; MBS("AVRecorder.VideoDeviceInfo"; $recorder; $index; "suspended") ]
                                                • End If
                                                • Set Field [ AVRecorder Devices::Type; "Video" ]
                                                • Commit Records/Requests
                                                • Set Variable [ $index; Value:$index + 1 ]
                                                • Exit Loop If [ $count = $index ]
                                                • End Loop
                                                • End If
                                                • # cleanup
                                                • Set Variable [ $r; Value:MBS("AVRecorder.Release"; $recorder) ]
                                                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: [Update]
                                                        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
                                                            • Delete All Records [ No dialog ]
                                                            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: AVRecorder Devices

                                                                          Used functions:




                                                                          Links
                                                                          MBS FileMaker Plugins