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

MBS FileMaker Plugin Example Databases

Email Text from Apple Mail

All examples are included with download of MBS FileMaker Plugin.

Email Text from Apple Mail.fmp12

Overview
Tables2
Relationships0
Layouts2
Scripts1
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
Email Text from Apple Mail
2 fields defined, 0 record
Email Text from Apple Mail
Scripts
1 field defined, 0 record
Scripts

Fields

Table Name: Email Text from Apple Mail - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
SubjectNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ContentNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

          Table Name: Scripts - 1 Fields
          Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
          AppleScriptNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Global
          • Repetitions: 1
          • Index Language: German

              Layout Objects: Email Text from Apple Mail

              Regular Fields

              Field Name: Email Text from Apple Mail::Subject
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 72 pt
              • Left: 138 pt
              • Bottom: 86 pt
              • Right: 547 pt
              • Anchoring: Left, Top
              Field Format:
              • Edit Box
              Field Behavior:
              • Allow field to be entered: In Find mode, In Browse mode
              • Touch keyboard type: System Default
              • Go to next field using: Tab key
              Yes

              Field Name: Email Text from Apple Mail::Content
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 90 pt
              • Left: 138 pt
              • Bottom: 296 pt
              • Right: 547 pt
              • Anchoring: Left, Top
              Field Format:
              • Edit Box
              Field Behavior:
              • Allow field to be entered: In Find mode, In Browse mode
              • Touch keyboard type: System Default
              • Go to next field using: Tab key
              Yes

              Group Buttons

              Button PropertiesCoordinatesScript/Script Step
                Type:
              • Text: Get Email
                Additional Properties:
              • Change to hand cursor over button
              • Rectangular
              • Top: 12 pt
              • Left: 6 pt
              • Bottom: 37 pt
              • Right: 121 pt
              • Anchoring: Left, Top
              Perform Script [ “Run” ]

              Scripts:


              Layout Objects: Scripts

              Regular Fields

              Field Name: Scripts::AppleScript
              Field PropertiesCoordinatesField FormatField BehaviorQuick Find
              • Top: 24 pt
              • Left: 138 pt
              • Bottom: 248 pt
              • Right: 487 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

              Script Hierarchy

              Run

              Script NameRun
              Run script with full access privilegesOff
              Include In MenuYes
              Layouts that use this script
              Scripts that use this script
                Script Definition
                Script Steps
                • Set Variable [ $r; Value:MBS("Trace") ]
                • Set Variable [ $scriptID; Value:MBS( "Applescript.Compile"; Scripts::AppleScript) ]
                • If [ MBS("isError") ]
                • Show Custom Dialog [ Message: MBS("AppleScript.LastErrorMessage"); Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                • Exit Script [ ]
                • End If
                • Set Variable [ $r; Value:MBS( "Applescript.SetPropertyValue"; $scriptID; "mySubject"; "" ) ]
                • Set Variable [ $r; Value:MBS( "Applescript.SetPropertyValue"; $scriptID; "myContent"; "") ]
                • Set Variable [ $r; Value:MBS( "Applescript.Execute"; $scriptID) ]
                • New Record/Request
                • Set Field [ Email Text from Apple Mail::Subject; MBS("Applescript.GetPropertyValue"; $scriptID; "MySubject") ]
                • Set Field [ Email Text from Apple Mail::Content; MBS("Applescript.GetPropertyValue"; $scriptID; "MyContent") ]
                • Commit Records/Requests [ No dialog ]
                • Set Variable [ $r; Value:MBS( "Applescript.Close"; $scriptID) ]
                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: Email Text from Apple Mail

                        Used functions: