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

MBS FileMaker Plugin Example Databases

RichText

All examples are included with download of MBS FileMaker Plugin.

RichText.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts5
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
Tabelle
18 fields defined, 1 record
Tabelle

Fields

Table Name: Tabelle - 18 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
FileURLNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      FilePathNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          FileContainerNormal, BinaryAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              TextNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  TextLengthNormal, NumberAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      FormattedTextNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          TitleNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              CompanyNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  CopyrightNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      SubjectNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          AuthorNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              KeywordsNormal, TextAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  CommentNormal, TextAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      EditorNormal, TextAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          ModificationTimeNormal, TimestampAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              ManagerNormal, TextAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  CategoryNormal, TextAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      TypeNormal, TextAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German

                                                                          Layout Objects: Tabelle

                                                                          Regular Fields

                                                                          Field Name: Tabelle::FileURL
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 66 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 80 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: Tabelle::FilePath
                                                                          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: Tabelle::FileContainer
                                                                          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: Tabelle::Text
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 264 pt
                                                                          • Left: 402 pt
                                                                          • Bottom: 494 pt
                                                                          • Right: 649 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: Tabelle::TextLength
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 264 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 278 pt
                                                                          • Right: 397 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: Tabelle::FormattedText
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 264 pt
                                                                          • Left: 654 pt
                                                                          • Bottom: 494 pt
                                                                          • Right: 907 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: Tabelle::Title
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 282 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 296 pt
                                                                          • Right: 397 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: Tabelle::Company
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 300 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 314 pt
                                                                          • Right: 397 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: Tabelle::Copyright
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 318 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 332 pt
                                                                          • Right: 397 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: Tabelle::Subject
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 336 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 350 pt
                                                                          • Right: 397 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: Tabelle::Author
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 354 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 368 pt
                                                                          • Right: 397 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: Tabelle::Keywords
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 372 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 386 pt
                                                                          • Right: 397 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: Tabelle::Comment
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 390 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 404 pt
                                                                          • Right: 397 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: Tabelle::Editor
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 408 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 422 pt
                                                                          • Right: 397 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: Tabelle::ModificationTime
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 426 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 440 pt
                                                                          • Right: 397 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: Tabelle::Manager
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 444 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 458 pt
                                                                          • Right: 397 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: Tabelle::Category
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 462 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 476 pt
                                                                          • Right: 397 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: Tabelle::Type
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 480 pt
                                                                          • Left: 144 pt
                                                                          • Bottom: 494 pt
                                                                          • Right: 397 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: Load from URL
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 234 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 259 pt
                                                                          • Right: 253 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “LoadURL” ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Load from File Path
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 234 pt
                                                                          • Left: 258 pt
                                                                          • Bottom: 259 pt
                                                                          • Right: 373 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “LoadFile” ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Load from Container
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 234 pt
                                                                          • Left: 378 pt
                                                                          • Bottom: 259 pt
                                                                          • Right: 505 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “LoadContainer” ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Write Doc File
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 504 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 529 pt
                                                                          • Right: 253 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “WriteDoc”; Parameter: "doc" ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Write RTF File
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 504 pt
                                                                          • Left: 264 pt
                                                                          • Bottom: 529 pt
                                                                          • Right: 379 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “WriteDoc”; Parameter: "rtf" ]

                                                                          Scripts:


                                                                          Script Hierarchy

                                                                          LoadURL
                                                                          Process
                                                                          LoadContainer
                                                                          LoadFile
                                                                          WriteDoc

                                                                          Next Script: [Process]
                                                                          Script NameLoadURL
                                                                          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 [ $r; Value:MBS("RichText.ReadURL"; Tabelle::FileURL) ]
                                                                            • If [ $r = "OK" ]
                                                                            • Perform Script [ “Process” ]
                                                                            • Else
                                                                            • Show Custom Dialog [ Title: "Fehler"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                            • 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

                                                                                  Previous Script: [LoadURL]Next Script: [LoadContainer]
                                                                                  Script NameProcess
                                                                                  Run script with full access privilegesOff
                                                                                  Include In MenuYes
                                                                                  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: [Process]Next Script: [LoadFile]
                                                                                            Script NameLoadContainer
                                                                                            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 [ $r; Value:MBS("RichText.ReadContainer";Tabelle::FileContainer) ]
                                                                                              • If [ $r = "OK" ]
                                                                                              • Perform Script [ “Process” ]
                                                                                              • Else
                                                                                              • Show Custom Dialog [ Title: "Fehler"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                              • 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

                                                                                                    Previous Script: [LoadContainer]Next Script: [WriteDoc]
                                                                                                    Script NameLoadFile
                                                                                                    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 [ $r; Value:MBS("RichText.ReadFile"; Tabelle::FilePath) ]
                                                                                                      • If [ $r = "OK" ]
                                                                                                      • Perform Script [ “Process” ]
                                                                                                      • Else
                                                                                                      • Show Custom Dialog [ Title: "Fehler"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                      • 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

                                                                                                            Previous Script: [LoadFile]
                                                                                                            Script NameWriteDoc
                                                                                                            Run script with full access privilegesOff
                                                                                                            Include In MenuYes
                                                                                                            Layouts that use this script
                                                                                                            Scripts that use this script
                                                                                                              Script Definition
                                                                                                              Script Steps
                                                                                                              • #put together data
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.Clear") ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetFormattedText"; Tabelle::FormattedText) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Title"; Tabelle::Title) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Company"; Tabelle::Company) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Copyright"; Tabelle::Copyright) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Subject"; Tabelle::Subject) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Author"; Tabelle::Author) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Keywords"; Tabelle::Keywords) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Comment"; Tabelle::Comment) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Editor"; Tabelle::Editor) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "ModificationTime"; Tabelle::ModificationTime) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Manager"; Tabelle::Manager) ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.SetAttribute"; "Category"; Tabelle::Category) ]
                                                                                                              • #now build path
                                                                                                              • If [ Get(ScriptParameter) = "rtf" ]
                                                                                                              • Set Variable [ $extension; Value:".rtf" ]
                                                                                                              • Else
                                                                                                              • Set Variable [ $extension; Value:".doc" ]
                                                                                                              • End If
                                                                                                              • Set Variable [ $fpath; Value:Get(DesktopPath) ]
                                                                                                              • Set Variable [ $npath; Value:MBS( "Path.FilemakerPathToNativePath"; $fpath ) ]
                                                                                                              • Set Variable [ $path; Value:$npath & "/" & "test" & $extension ]
                                                                                                              • #write file
                                                                                                              • If [ Get(ScriptParameter) = "rtf" ]
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.WriteRTF"; $path) ]
                                                                                                              • Else
                                                                                                              • Set Variable [ $r; Value:MBS("RichText.WriteDOC"; $path) ]
                                                                                                              • 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: RichText

                                                                                                                      Used functions: