MBS FileMaker Plugin Example Databases

WriteFile

All examples are included with download of MBS FileMaker Plugin.

WriteFile.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
OnFirstWindowOpenScript: Init
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
WriteFile
7 fields defined, 6 records
WriteFile

Fields

Table Name: WriteFile - 7 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
FolderPathNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      FileNameNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          InputDataNormal, BinaryAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              InputTextNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  ResultNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      FilterNormal, 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

                                Layout Objects: WriteFile

                                Regular Fields

                                Field Name: WriteFile::FolderPath
                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                • Top: 24 pt
                                • Left: 138 pt
                                • Bottom: 38 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: WriteFile::FileName
                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                • Top: 84 pt
                                • Left: 138 pt
                                • Bottom: 98 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: WriteFile::InputData
                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                • Top: 102 pt
                                • Left: 138 pt
                                • Bottom: 227 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: WriteFile::InputText
                                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: WriteFile::Result
                                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: WriteFile::Filter
                                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: WriteFile::Description
                                Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                • Top: 90 pt
                                • Left: 570 pt
                                • Bottom: 236 pt
                                • Right: 829 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: Run
                                  Additional Properties:
                                • Change to hand cursor over button
                                • Rectangular
                                • Top: 138 pt
                                • Left: 438 pt
                                • Bottom: 163 pt
                                • Right: 523 pt
                                • Anchoring: Left, Top
                                Perform Script [ “Run” ]

                                Scripts:


                                Script Hierarchy

                                Init
                                Run

                                Next Script: [Run]
                                Script NameInit
                                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 [ $path; Value:Get(DesktopPath) ]
                                    • Set Variable [ $path; Value:MBS( "Path.FilemakerPathToNativePath"; $path ) ]
                                    • If [ Right ( $path ; 1 ) ≠ "/" ]
                                    • Set Variable [ $path; Value:$path & "/" ]
                                    • End If
                                    • Set Field [ WriteFile::FolderPath; $path ]
                                    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: [Init]
                                            Script NameRun
                                            Run script with full access privilegesOff
                                            Include In MenuYes
                                            Layouts that use this script
                                            Scripts that use this script
                                              Script Definition
                                              Script Steps
                                              • If [ IsEmpty ( WriteFile::InputData ) ]
                                              • Set Field [ WriteFile::Result; MBS("Files.WriteFile"; WriteFile::InputText; WriteFile::FolderPath & WriteFile::FileName; WriteFile::Filter) ]
                                              • Else
                                              • Set Field [ WriteFile::Result; MBS("Files.WriteFile"; WriteFile::InputData; WriteFile::FolderPath & WriteFile::FileName; WriteFile::Filter) ]
                                              • 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

                                                      Download example: WriteFile

                                                      Used functions:




                                                      Links
                                                      MBS Xojo Chart Plugins