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

MBS FileMaker Plugin Example Databases

WordFile Image

All examples are included with download of MBS FileMaker Plugin.

WordFile Image.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
WordFile Image
2 fields defined, 1 record
WordFile Image

Fields

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

          Regular Fields

          Field Name: WordFile Image::Input
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 52 pt
          • Left: 138 pt
          • Bottom: 177 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: Default for Data Type
          • Go to next field using: Tab key
          No

          Field Name: WordFile Image::Image
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 179 pt
          • Left: 138 pt
          • Bottom: 304 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: Default for Data Type
          • Go to next field using: Tab key
          No

          Script Hierarchy

          Show Media Files
          Replace Image

          Next Script: [Replace Image]
          Script NameShow Media Files
          Run script with full access privilegesOff
          Include In MenuYes
          Layouts that use this script
            Scripts that use this script
              Script Definition
              Script Steps
              • #load from container
              • Set Variable [ $wordfile; Value:MBS( "WordFile.OpenContainer"; WordFile Image::Input) ]
              • If [ MBS("ISError") ]
              • Show Custom Dialog [ Title: "Error"; Message: $wordFile; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
              • Exit Script [ ]
              • End If
              • #show
              • Show Custom Dialog [ Title: "Media files:"; Message: MBS( "WordFile.MediaFiles"; $WordFile ); Default Button: “OK”, Commit: “Yes” ]
              • #clean up
              • Set Variable [ $r; Value:MBS("WordFile.Release"; $WordFile) ]
              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: [Show Media Files]
                      Script NameReplace Image
                      Run script with full access privilegesOff
                      Include In MenuYes
                      Layouts that use this script
                        Scripts that use this script
                          Script Definition
                          Script Steps
                          • #load from container
                          • Set Variable [ $wordfile; Value:MBS( "WordFile.OpenContainer"; WordFile Image::Input) ]
                          • If [ MBS("ISError") ]
                          • Show Custom Dialog [ Title: "Error"; Message: $wordFile; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                          • Exit Script [ ]
                          • End If
                          • #Replace image
                          • Set Variable [ $r; Value:MBS( "WordFile.SetMediaFile"; $WordFile; "image1.png"; WordFile Image::Image ) ]
                          • #write to desktop
                          • Set Variable [ $DesktopPath; Value:MBS("Folders.UserDesktop") ]
                          • Set Variable [ $FilePath; Value:MBS( "Path.AddPathComponent"; $DesktopPath; "test output.docx" ) ]
                          • Set Variable [ $r; Value:MBS( "WordFile.WriteFile"; $WordFile; $FilePath ) ]
                          • Set Variable [ $r; Value:MBS( "Files.LaunchFile"; $FilePath ) ]
                          • #clean up
                          • Set Variable [ $r; Value:MBS("WordFile.Release"; $WordFile) ]
                          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: WordFile Image

                                  Used functions: