MBS FileMaker Plugin Example Databases

Movie Container iOS and Mac

All examples are included with download of MBS FileMaker Plugin.

Movie Container iOS and Mac.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
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
PlaceHolder
4 fields defined, 1 record
PlaceHolder

Fields

Table Name: PlaceHolder - 4 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TimeNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: English
      DurationNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: English
          ContainerNormal, BinaryAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
                ImageNormal, BinaryAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1

                    Layout Objects: PlaceHolder

                    Regular Fields

                    Field Name: PlaceHolder::Container
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      Object Name:
                    • web
                    • Top: 85 pt
                    • Left: 8 pt
                    • Bottom: 316 pt
                    • Right: 313 pt
                    • Anchoring: Left, Top
                    Field Format:
                    • Edit Box
                    • Optimized for interactive content
                    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
                    No

                    Field Name: PlaceHolder::Time
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 366 pt
                    • Left: 55 pt
                    • Bottom: 387 pt
                    • Right: 141 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: PlaceHolder::Duration
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 367 pt
                    • Left: 222 pt
                    • Bottom: 388 pt
                    • Right: 308 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: PlaceHolder::Image
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 396 pt
                    • Left: 8 pt
                    • Bottom: 580 pt
                    • Right: 308 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
                    No

                    Merge Fields

                    Field PropertiesCoordinatesFieldsQuick Find
                      Text:
                    • Installed Plug-ins
                    • Top: 622 pt
                    • Left: 6 pt
                    • Bottom: 718 pt
                    • Right: 314 pt
                    • Anchoring: Left and Right, Top
                      No

                      Buttons

                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Query Time
                      • Top: 327 pt
                      • Left: 14 pt
                      • Bottom: 359 pt
                      • Right: 152 pt
                      • Anchoring: Left, Top
                      Perform Script [ “Query Time” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Query Image
                      • Top: 327 pt
                      • Left: 170 pt
                      • Bottom: 359 pt
                      • Right: 308 pt
                      • Anchoring: Left, Top
                      Perform Script [ “Query Image” ]

                      Scripts:


                      Script Hierarchy

                      Query Time
                      Query Image

                      Next Script: [Query Image]
                      Script NameQuery Time
                      Run script with full access privilegesOff
                      Include In MenuYes
                      Layouts that use this script
                      Scripts that use this script
                        Script Definition
                        Script Steps
                        • #Find players
                        • Set Variable [ $players; Value:MBS( "AVPlayer.FindPlayers" ) ]
                        • If [ IsEmpty ( $players ) ]
                        • Show Custom Dialog [ Message: "Player not found"; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                        • End If
                        • Set Variable [ $player; Value:GetValue($players;1) ]
                        • #Get values
                        • Set Field [ PlaceHolder::Time; MBS( "AVPlayer.GetTime"; $player ) ]
                        • Set Field [ PlaceHolder::Duration; MBS( "AVPlayer.GetDuration"; $player ) ]
                        • #Release all objects
                        • // Set Variable [ $r; Value:MBS( "AVPlayer.Release"; $player ) ]
                        • Set Variable [ $r; Value:MBS( "AVPlayer.ReleaseAll" ) ]
                        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: [Query Time]
                                Script NameQuery Image
                                Run script with full access privilegesOff
                                Include In MenuYes
                                Layouts that use this script
                                Scripts that use this script
                                  Script Definition
                                  Script Steps
                                  • #Find players
                                  • Set Variable [ $players; Value:MBS( "AVPlayer.FindPlayers" ) ]
                                  • If [ IsEmpty ( $players ) ]
                                  • Show Custom Dialog [ Message: "Player not found"; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                  • End If
                                  • Set Variable [ $player; Value:GetValue($players;1) ]
                                  • #Get asset
                                  • Set Variable [ $asset; Value:MBS( "AVPlayer.GetAsset"; $player ) ]
                                  • Set Variable [ $time; Value:MBS( "AVPlayer.GetTime"; $player ) ]
                                  • Set Field [ PlaceHolder::Image; MBS( "AVAsset.Image"; $asset; $Time; "PNG"; "movie.png" ) ]
                                  • #Release all objects
                                  • // Set Variable [ $r; Value:MBS( "AVPlayer.Release"; $player ) ]
                                  • Set Variable [ $r; Value:MBS( "AVAsset.Release"; $asset ) ]
                                  • Set Variable [ $r; Value:MBS( "AVPlayer.ReleaseAll" ) ]
                                  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: Movie Container iOS and Mac

                                          Used functions:




                                          Links
                                          MBS Xojo PDF Plugins