MBS FileMaker Plugin Example Databases

RunTask Windows

All examples are included with download of MBS FileMaker Plugin.

RunTask Windows.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
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
RunTask Windows
6 fields defined, 5 records
RunTask Windows

Fields

Table Name: RunTask Windows - 6 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
VerbNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      FileNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          ArgumentsNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              DirectoryNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  ResultNormal, 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

                            Layout Objects: RunTask Windows

                            Regular Fields

                            Field Name: RunTask Windows::Verb
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 24 pt
                            • Left: 138 pt
                            • Bottom: 41 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: RunTask Windows::File
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 42 pt
                            • Left: 138 pt
                            • Bottom: 59 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: RunTask Windows::Arguments
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 60 pt
                            • Left: 138 pt
                            • Bottom: 77 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: RunTask Windows::Directory
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 78 pt
                            • Left: 138 pt
                            • Bottom: 95 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: RunTask Windows::Result
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 96 pt
                            • Left: 138 pt
                            • Bottom: 113 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: RunTask Windows::Comment
                            Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                            • Top: 114 pt
                            • Left: 138 pt
                            • Bottom: 131 pt
                            • Right: 391 pt
                            • Anchoring: Left, Top
                            Field Format:
                            • Edit Box
                            Field Behavior:
                            • Allow field to be entered: In Find mode, In Browse mode
                            • Touch keyboard type: System Default
                            • Go to next field using: Tab key
                            Yes

                            Group Buttons

                            Button PropertiesCoordinatesScript/Script Step
                              Type:
                            • Text: Run
                              Additional Properties:
                            • Change to hand cursor over button
                            • Rectangular
                            • Top: 30 pt
                            • Left: 414 pt
                            • Bottom: 55 pt
                            • Right: 511 pt
                            • Anchoring: Left, Top
                            Perform Script [ “Run” ]

                            Scripts:


                            Button PropertiesCoordinatesScript/Script Step
                              Type:
                            • Text: Is Running?
                              Additional Properties:
                            • Change to hand cursor over button
                            • Rectangular
                            • Top: 72 pt
                            • Left: 414 pt
                            • Bottom: 97 pt
                            • Right: 511 pt
                            • Anchoring: Left, Top
                            Perform Script [ “IsRunning” ]

                            Scripts:


                            Button PropertiesCoordinatesScript/Script Step
                              Type:
                            • Text: Terminate
                              Additional Properties:
                            • Change to hand cursor over button
                            • Rectangular
                            • Top: 108 pt
                            • Left: 414 pt
                            • Bottom: 133 pt
                            • Right: 511 pt
                            • Anchoring: Left, Top
                            Show Custom Dialog [ Title: "Terminate Result"; Message: MBS("RunTask.Terminate"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                            Script Hierarchy

                            Run
                            IsRunning

                            Next Script: [IsRunning]
                            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
                              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: [Run]
                                      Script NameIsRunning
                                      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 [ $pid; Value:MBS("RunTask.ProcessIdentifier") ]
                                        • Set Variable [ $running; Value:MBS("RunTask.IsRunning") ]
                                        • If [ $running = 1 ]
                                        • Show Custom Dialog [ Title: "Running"; Message: "Process " & $pid & " is running"; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                        • Else
                                        • Show Custom Dialog [ Title: "Running"; Message: "Process " & $pid & " is not running"; 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

                                                      Download example: RunTask Windows

                                                      Used functions:




                                                      Links
                                                      MBS Xojo tutorial videos