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

MBS FileMaker Plugin Example Databases

Write Text File

All examples are included with download of MBS FileMaker Plugin.

Write Text File.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts0
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
Test
2 fields defined, 1 record
Write Text File

Fields

Table Name: Test - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
TextNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
        PathNormal, TextAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German

              Layout Objects: Write Text File

              Regular Fields

              Field Name: Write Text File::Text
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 24 pt
              • Left: 138 pt
              • Bottom: 110 pt
              • Right: 547 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: Write Text File::Path
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 114 pt
              • Left: 138 pt
              • Bottom: 128 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: Write native encoding
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 150 pt
              • Left: 138 pt
              • Bottom: 176 pt
              • Right: 271 pt
              • Anchoring: Left, Top
              Show Custom Dialog [ Message: MBS("String.WriteTextFile"; Write Text File::Text; Write Text File::Path); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

              Fields:


              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Write windows encoding
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 150 pt
              • Left: 288 pt
              • Bottom: 176 pt
              • Right: 433 pt
              • Anchoring: Left, Top
              Show Custom Dialog [ Message: MBS("String.WriteTextFile"; Write Text File::Text; Write Text File::Path; "ansi"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

              Fields:


              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Write UTF-8 encoding
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 180 pt
              • Left: 288 pt
              • Bottom: 206 pt
              • Right: 433 pt
              • Anchoring: Left, Top
              Show Custom Dialog [ Message: MBS("String.WriteTextFile"; Write Text File::Text; Write Text File::Path; "utf8"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

              Fields:


              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Write Mac encoding
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 210 pt
              • Left: 288 pt
              • Bottom: 236 pt
              • Right: 433 pt
              • Anchoring: Left, Top
              Show Custom Dialog [ Message: MBS("String.WriteTextFile"; Write Text File::Text; Write Text File::Path; "mac"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

              Fields:


              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Write UTF-8 encoding with BOM
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 180 pt
              • Left: 444 pt
              • Bottom: 206 pt
              • Right: 625 pt
              • Anchoring: Left, Top
              Show Custom Dialog [ Message: MBS("String.WriteTextFile"; Char(65279) & Write Text File::Text; Write Text File::Path; "utf8"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

              Fields:


              Download example: Write Text File

              Used functions: