MBS FileMaker Plugin Example Databases

Text to RTF or HTML

All examples are included with download of MBS FileMaker Plugin.

Text to RTF or HTML.fmp12

Overview
Tables1
Relationships0
Layouts2
Scripts7
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
4 fields defined, 2 records
test

Fields

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

                  Layout Objects: Ohne Titel

                  Layout Objects: test

                  Regular Fields

                  Field Name: test::FormattedText
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 5 pt
                  • Left: 138 pt
                  • Bottom: 85 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: test::RTFText
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 89 pt
                  • Left: 138 pt
                  • Bottom: 229 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: test::HTMLText
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 257 pt
                  • Left: 138 pt
                  • Bottom: 421 pt
                  • Right: 385 pt
                  • Anchoring: Left, Top and Bottom
                  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: test::Text
                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                  • Top: 6 pt
                  • Left: 558 pt
                  • Bottom: 239 pt
                  • Right: 853 pt
                  • Anchoring: Left and Right, 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

                  Buttons

                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Create RTF
                  • Top: 6 pt
                  • Left: 402 pt
                  • Bottom: 31 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Create RTF” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Parse RTF
                  • Top: 41 pt
                  • Left: 402 pt
                  • Bottom: 66 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Parse RTF” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Write to Desktop
                  • Top: 76 pt
                  • Left: 402 pt
                  • Bottom: 101 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Write to Desktop” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Serialize
                  • Top: 111 pt
                  • Left: 402 pt
                  • Bottom: 136 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Serialize” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: Deserialize
                  • Top: 146 pt
                  • Left: 402 pt
                  • Bottom: 171 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Deserialize” ]

                  Scripts:


                  Button PropertiesCoordinatesScript/Script Step
                    Type:
                  • Text: To HTML
                  • Top: 181 pt
                  • Left: 402 pt
                  • Bottom: 206 pt
                  • Right: 518 pt
                  • Anchoring: Left, Top
                  Perform Script [ “Make HTML” ]

                  Scripts:


                  Web Viewer Controls

                  Web Viewer Control PropertiesCoordinatesWeb Address
                    Additional Properties:
                  • Allow interaction with web viewer content
                  • Display progress bar
                  • Display status messages
                  • Automatically encode URL
                  • Top: 257 pt
                  • Left: 558 pt
                  • Bottom: 420 pt
                  • Right: 859 pt
                  • Anchoring: Left and Right, Top and Bottom
                  "data:text/html;charset=utf-8," & test::HTMLText

                  Script Hierarchy

                  Parse RTF
                  Create RTF
                  Write to Desktop
                  Clear
                  Make HTML
                  Deserialize
                  Serialize

                  Next Script: [Create RTF]
                  Script NameParse RTF
                  Run script with full access privilegesOff
                  Include In MenuNo
                  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

                            Previous Script: [Parse RTF]Next Script: [Write to Desktop]
                            Script NameCreate RTF
                            Run script with full access privilegesOff
                            Include In MenuNo
                            Layouts that use this script
                            Scripts that use this script
                              Script Definition
                              Script Steps
                              • Set Field [ test::RTFText; MBS("Text.TextToRTF"; test::FormattedText) ]
                              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: [Create RTF]Next Script: [Clear]
                                      Script NameWrite to Desktop
                                      Run script with full access privilegesOff
                                      Include In MenuNo
                                      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

                                                Previous Script: [Write to Desktop]Next Script: [Make HTML]
                                                Script NameClear
                                                Run script with full access privilegesOff
                                                Include In MenuYes
                                                Layouts that use this script
                                                  Scripts that use this script
                                                    Script Definition
                                                    Script Steps
                                                    • Set Field [ test::Text; "" ]
                                                    • Set Field [ test::HTMLText; "" ]
                                                    • Set Field [ test::RTFText; "" ]
                                                    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: [Clear]Next Script: [Deserialize]
                                                            Script NameMake HTML
                                                            Run script with full access privilegesOff
                                                            Include In MenuNo
                                                            Layouts that use this script
                                                            Scripts that use this script
                                                              Script Definition
                                                              Script Steps
                                                              • Set Field [ test::HTMLText; MBS("Text.TextToHTML"; test::FormattedText) ]
                                                              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: [Make HTML]Next Script: [Serialize]
                                                                      Script NameDeserialize
                                                                      Run script with full access privilegesOff
                                                                      Include In MenuNo
                                                                      Layouts that use this script
                                                                      Scripts that use this script
                                                                        Script Definition
                                                                        Script Steps
                                                                        • Set Field [ test::RTFText; MBS("Text.DeSerialize"; test::RTFText) ]
                                                                        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: [Deserialize]
                                                                                Script NameSerialize
                                                                                Run script with full access privilegesOff
                                                                                Include In MenuNo
                                                                                Layouts that use this script
                                                                                Scripts that use this script
                                                                                  Script Definition
                                                                                  Script Steps
                                                                                  • Set Field [ test::RTFText; MBS("Text.Serialize"; test::FormattedText) ]
                                                                                  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: Text to RTF or HTML

                                                                                          Used functions:




                                                                                          Links
                                                                                          MBS Xojo PDF Plugins

                                                                                          Start Chat