MBS FileMaker Plugin Example Databases

AVRecorder

All examples are included with download of MBS FileMaker Plugin.

AVRecorder.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts7
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
OnFirstWindowOpenScript: InitScript
OnLastWindowCloseScript: Shutdown
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
AVRecorder
2 fields defined, 1 record
AVRecorder

Fields

Table Name: AVRecorder - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
SessionNormal, 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: AVRecorder

          Regular Fields

          Field Name: AVRecorder::Session
          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::FilePath
          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: Set Video Device
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 78 pt
          • Left: 408 pt
          • Bottom: 109 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          Perform Script [ “Set Video Device” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Set Audio Device
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 114 pt
          • Left: 408 pt
          • Bottom: 145 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          Perform Script [ “Set Audio Device” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Start Recording
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 156 pt
          • Left: 408 pt
          • Bottom: 187 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          Perform Script [ “Start Recording” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Stop Recording
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 192 pt
          • Left: 408 pt
          • Bottom: 223 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          Perform Script [ “Stop Recording” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Start Preview
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 228 pt
          • Left: 408 pt
          • Bottom: 259 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          Perform Script [ “Start Preview” ]

          Scripts:


          Script Hierarchy

          InitScript
          Set Audio Device
          Set Video Device
          Start Recording
          Stop Recording
          Shutdown
          Start Preview

          Next Script: [Set Audio Device]
          Script NameInitScript
          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: [InitScript]Next Script: [Set Video Device]
                      Script NameSet Audio Device
                      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 [ $r; Value:MBS("AVRecorder.SetAudioDevice"; AVRecorder::Session; 0) ]
                        • Show Custom Dialog [ Title: "Audio Device"; Message: MBS("AVRecorder.GetAudioDevice"; AVRecorder::Session); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                        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: [Set Audio Device]Next Script: [Start Recording]
                                Script NameSet Video Device
                                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 [ $r; Value:MBS("AVRecorder.SetVideoDevice"; AVRecorder::Session; 0) ]
                                  • Show Custom Dialog [ Title: "Video Device"; Message: MBS("AVRecorder.GetVideoDevice"; AVRecorder::Session); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                  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: [Set Video Device]Next Script: [Stop Recording]
                                          Script NameStart Recording
                                          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 [ $r; Value:MBS("AVRecorder.SetFilePath"; AVRecorder::Session; AVRecorder::FilePath) ]
                                            • If [ MBS("IsError") ]
                                            • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                            • Exit Script [ ]
                                            • End If
                                            • Set Variable [ $r; Value:MBS("AVRecorder.StartRecording"; AVRecorder::Session) ]
                                            • If [ MBS("IsError") ]
                                            • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                            • Exit Script [ ]
                                            • 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: [Start Recording]Next Script: [Shutdown]
                                                    Script NameStop Recording
                                                    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: [Stop Recording]Next Script: [Start Preview]
                                                              Script NameShutdown
                                                              Run script with full access privilegesOff
                                                              Include In MenuYes
                                                              Layouts that use this script
                                                                Scripts that use this script
                                                                  Script Definition
                                                                  Script Steps
                                                                  • If [ AVRecorder::Session ≠ "" ]
                                                                  • Set Variable [ $r; Value:MBS("AVRecorder.Release"; AVRecorder::Session) ]
                                                                  • Set Field [ AVRecorder::Session; "" ]
                                                                  • 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: [Shutdown]
                                                                          Script NameStart Preview
                                                                          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

                                                                                    Download example: AVRecorder

                                                                                    Used functions:




                                                                                    Links
                                                                                    MBS Xojo PDF Plugins