MBS FileMaker Plugin Example Databases

CGImageSource

All examples are included with download of MBS FileMaker Plugin.

CGImageSource.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 layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
CGImageSource
3 fields defined, 0 record
CGImageSource

Fields

Table Name: CGImageSource - 3 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
ImageFileNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
      KeyNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          ValueNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German

              Layout Objects: CGImageSource

              Regular Fields

              Field Name: CGImageSource::ImageFile
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 6 pt
              • Left: 138 pt
              • Bottom: 131 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
              No

              Field Name: CGImageSource::Key
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 162 pt
              • Left: 6 pt
              • Bottom: 181 pt
              • Right: 259 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: CGImageSource::Value
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 162 pt
              • Left: 270 pt
              • Bottom: 181 pt
              • Right: 523 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

              Buttons

              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Read Metadata
              • Top: 8 pt
              • Left: 400 pt
              • Bottom: 39 pt
              • Right: 523 pt
              • Anchoring: Left, Top
              Perform Script [ “Extract Metadata” ]

              Scripts:


              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Add or change GPS
              • Top: 53 pt
              • Left: 402 pt
              • Bottom: 85 pt
              • Right: 525 pt
              • Anchoring: Left, Top
              Perform Script [ “Change GPS” ]

              Scripts:


              Script Hierarchy

              Extract Metadata
              Change GPS

              Next Script: [Change GPS]
              Script NameExtract Metadata
              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 [ $ref; Value:MBS("CGImageSource.CreateWithData"; CGImageSource::ImageFile) ]
                • Set Variable [ $keys; Value:MBS("CGImageSource.Keys"; $ref; -1) ]
                • Set Variable [ $count; Value:ValueCount ( $keys ) ]
                • If [ GetAsNumber($count)>0 ]
                • Set Variable [ $index; Value:0 ]
                • Loop
                • New Record/Request
                • Set Variable [ $key; Value:GetValue ( $keys ; $index + 1 ) ]
                • Set Variable [ $key; Value:Substitute ( $key ; "¶" ; "" ) ]
                • Set Variable [ $value; Value:MBS("CGImageSource.Property"; $ref; -1; $key) ]
                • Set Field [ CGImageSource::Key; "global " & $key ]
                • Set Field [ CGImageSource::Value; $value ]
                • Commit Records/Requests [ No dialog ]
                • Set Variable [ $index; Value:$index + 1 ]
                • Exit Loop If [ $count = $index ]
                • End Loop
                • End If
                • Set Variable [ $keys; Value:MBS("CGImageSource.Keys"; $ref; 0) ]
                • Set Variable [ $count; Value:ValueCount ( $keys ) ]
                • If [ GetAsNumber($count)>0 ]
                • Set Variable [ $index; Value:0 ]
                • Loop
                • New Record/Request
                • Set Variable [ $key; Value:GetValue ( $keys ; $index + 1 ) ]
                • Set Variable [ $key; Value:Substitute ( $key ; "¶" ; "" ) ]
                • Set Variable [ $value; Value:MBS("CGImageSource.Property"; $ref; 0; $key) ]
                • Set Field [ CGImageSource::Key; $key ]
                • Set Field [ CGImageSource::Value; $value ]
                • Commit Records/Requests [ No dialog ]
                • Set Variable [ $index; Value:$index + 1 ]
                • Exit Loop If [ $count = $index ]
                • End Loop
                • End If
                • Set Variable [ $r; Value:MBS("CGImageSource.Release"; $ref) ]
                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: [Extract Metadata]
                        Script NameChange GPS
                        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: CGImageSource

                                  Used functions:




                                  Links
                                  MBS Xojo Plugins