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

MBS FileMaker Plugin Example Databases

Text Styles

All examples are included with download of MBS FileMaker Plugin.

Text Styles.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 9
Value Lists 0
Custom Functions 0
Custom Menus 24
File Options
Default custom menu set [Standard FileMaker Menus]
Default theme Apex Blue
When opening file
Minimum allowed version 12.0
Login using Account Name; Account= Admin
Allow user to save password Off
Require iOS passcode Off
Show Sign-in fields Off
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Off
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Comments
Occurrences in Relationship Graph
Text Styles
8 fields defined, 1 record
Text Styles

Fields

Table Name: Text Styles - 8 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
Primärschlüssel Normal, Text Auto-Enter: Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
Eindeutige ID für jeden Datensatz in dieser Tabelle
          Erstellungszeitstempel Normal, Timestamp Auto-Enter:
          • Creation timestamp
          Validation:
          • Only during data entry
          • Strict data type: 4 digit year
          • Not empty
          • Strict validation
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
          Datum und Uhrzeit der Erstellung der einzelnen Datensätze
                  ErstelltVon Normal, Text Auto-Enter:
                  • Creation account name
                  Validation:
                  • Only during data entry
                  • Not empty
                  • Strict validation
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                  Kontoname des Benutzers, der die einzelnen Datensätze erstellt hat
                          Änderungszeitstempel Normal, Timestamp Auto-Enter:
                          • Modification timestamp
                          Validation:
                          • Only during data entry
                          • Strict data type: 4 digit year
                          • Not empty
                          • Strict validation
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                          Datum und Uhrzeit der letzten Änderung der einzelnen Datensätze
                                  GeändertVon Normal, Text Auto-Enter:
                                  • Modification account name
                                  Validation:
                                  • Only during data entry
                                  • Not empty
                                  • Strict validation
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                  Kontoname des Benutzers, der die einzelnen Datensätze zuletzt geändert hat
                                          Input Normal, Text Auto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              Output Normal, Text Auto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  Result Normal, Text Auto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German

                                                      Layout Objects: Text Styles

                                                      Regular Fields

                                                      Field Name: Text Styles::Input
                                                      Field Properties Coordinates Field Format Field Behavior Quick Find
                                                      • Top: 77 pt
                                                      • Left: 8 pt
                                                      • Bottom: 272 pt
                                                      • Right: 503 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: Default for Data Type
                                                      • Go to next field using: Tab key
                                                      Yes

                                                      Field Name: Text Styles::Output
                                                      Field Properties Coordinates Field Format Field Behavior Quick Find
                                                      • Top: 77 pt
                                                      • Left: 509 pt
                                                      • Bottom: 526 pt
                                                      • Right: 1004 pt
                                                      • Anchoring: Left and Right, Top and Bottom
                                                      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

                                                      Field Name: Text Styles::Result
                                                      Field Properties Coordinates Field Format Field Behavior Quick Find
                                                      • Top: 279 pt
                                                      • Left: 8 pt
                                                      • Bottom: 526 pt
                                                      • Right: 503 pt
                                                      • Anchoring: Left, Bottom
                                                      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 Properties Coordinates Script/Script Step
                                                        Type:
                                                      • Text: Query Styles as JSON
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Top: 11 pt
                                                      • Left: 676 pt
                                                      • Bottom: 39 pt
                                                      • Right: 836 pt
                                                      • Anchoring: Right, Top
                                                      Perform Script [ “Styles as JSON” ]

                                                      Scripts:


                                                      Button Properties Coordinates Script/Script Step
                                                        Type:
                                                      • Text: Serialize Styled Text
                                                        Additional Properties:
                                                      • Change to hand cursor over button
                                                      • Top: 12 pt
                                                      • Left: 847 pt
                                                      • Bottom: 40 pt
                                                      • Right: 1007 pt
                                                      • Anchoring: Right, Top
                                                      Perform Script [ “Serialize” ]

                                                      Scripts:


                                                      Script Hierarchy

                                                      Clear
                                                      Styles as JSON
                                                      Serialize
                                                      Encode Hex
                                                      Encode Base64
                                                      Encode URL
                                                      Encode XML
                                                      Encode HTML
                                                      Encode Bytes

                                                      Next Script: [Styles as JSON]
                                                      Script Name Clear
                                                      Run script with full access privileges Off
                                                      Siri Shortcut Visible Off
                                                      Include In Menu Yes
                                                      Layouts that use this script
                                                        Scripts that use this script
                                                          Script Definition
                                                          Script Steps
                                                          • Replace Field Contents [ Text Styles::Output; Replace with calculation: "" ] [ No dialog ]
                                                          • Replace Field Contents [ Text Styles::Result; Replace with calculation: "" ] [ No dialog ]
                                                          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: [Serialize]
                                                                  Script Name Styles as JSON
                                                                  Run script with full access privileges Off
                                                                  Siri Shortcut Visible Off
                                                                  Include In Menu Yes
                                                                  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: [Styles as JSON] Next Script: [Encode Hex]
                                                                            Script Name Serialize
                                                                            Run script with full access privileges Off
                                                                            Siri Shortcut Visible Off
                                                                            Include In Menu Yes
                                                                            Layouts that use this script
                                                                            Scripts that use this script
                                                                              Script Definition
                                                                              Script Steps
                                                                              • #trigger calculation
                                                                              • Set Field [ Text Styles::Output; MBS( "Text.Serialize"; Text Styles::Input) ]
                                                                              • Set Field [ Text Styles::Result; MBS( "Text.Deserialize"; Text Styles::Output ) ]
                                                                              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: [Serialize] Next Script: [Encode Base64]
                                                                                      Script Name Encode Hex
                                                                                      Run script with full access privileges Off
                                                                                      Siri Shortcut Visible Off
                                                                                      Include In Menu Yes
                                                                                      Layouts that use this script
                                                                                        Scripts that use this script
                                                                                          Script Definition
                                                                                          Script Steps
                                                                                          • #trigger calculation
                                                                                          • Set Field [ Text Styles::Output; MBS( "Text.EncodeToHex"; Text Styles::Input) ]
                                                                                          • Set Field [ Text Styles::Result; MBS( "Text.DecodeFromHex"; Text Styles::Output ) ]
                                                                                          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: [Encode Hex] Next Script: [Encode URL]
                                                                                                  Script Name Encode Base64
                                                                                                  Run script with full access privileges Off
                                                                                                  Siri Shortcut Visible Off
                                                                                                  Include In Menu Yes
                                                                                                  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: [Encode Base64] Next Script: [Encode XML]
                                                                                                              Script Name Encode URL
                                                                                                              Run script with full access privileges Off
                                                                                                              Siri Shortcut Visible Off
                                                                                                              Include In Menu Yes
                                                                                                              Layouts that use this script
                                                                                                                Scripts that use this script
                                                                                                                  Script Definition
                                                                                                                  Script Steps
                                                                                                                  • #trigger calculation
                                                                                                                  • Set Field [ Text Styles::Output; MBS( "Text.EncodeToURL"; Text Styles::Input) ]
                                                                                                                  • Set Field [ Text Styles::Result; MBS( "Text.DecodeFromURL"; Text Styles::Output ) ]
                                                                                                                  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: [Encode URL] Next Script: [Encode HTML]
                                                                                                                          Script Name Encode XML
                                                                                                                          Run script with full access privileges Off
                                                                                                                          Siri Shortcut Visible Off
                                                                                                                          Include In Menu Yes
                                                                                                                          Layouts that use this script
                                                                                                                            Scripts that use this script
                                                                                                                              Script Definition
                                                                                                                              Script Steps
                                                                                                                              • #trigger calculation
                                                                                                                              • Set Field [ Text Styles::Output; MBS( "Text.EncodeToXML"; Text Styles::Input) ]
                                                                                                                              • Set Field [ Text Styles::Result; MBS( "Text.DecodeFromXML"; Text Styles::Output ) ]
                                                                                                                              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: [Encode XML] Next Script: [Encode Bytes]
                                                                                                                                      Script Name Encode HTML
                                                                                                                                      Run script with full access privileges Off
                                                                                                                                      Siri Shortcut Visible Off
                                                                                                                                      Include In Menu Yes
                                                                                                                                      Layouts that use this script
                                                                                                                                        Scripts that use this script
                                                                                                                                          Script Definition
                                                                                                                                          Script Steps
                                                                                                                                          • #trigger calculation
                                                                                                                                          • Set Field [ Text Styles::Output; MBS( "Text.EncodeToHTML"; Text Styles::Input) ]
                                                                                                                                          • Set Field [ Text Styles::Result; MBS( "Text.DecodeFromHTML"; Text Styles::Output ) ]
                                                                                                                                          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: [Encode HTML]
                                                                                                                                                  Script Name Encode Bytes
                                                                                                                                                  Run script with full access privileges Off
                                                                                                                                                  Siri Shortcut Visible Off
                                                                                                                                                  Include In Menu Yes
                                                                                                                                                  Layouts that use this script
                                                                                                                                                    Scripts that use this script
                                                                                                                                                      Script Definition
                                                                                                                                                      Script Steps
                                                                                                                                                      • #trigger calculation
                                                                                                                                                      • Set Field [ Text Styles::Output; MBS( "Text.EncodeToBytes"; Text Styles::Input) ]
                                                                                                                                                      • Set Field [ Text Styles::Result; MBS( "Text.DecodeFromBytes"; Text Styles::Output ) ]
                                                                                                                                                      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 Styles

                                                                                                                                                              Used functions: