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

MBS FileMaker Plugin Example Databases

Windows List

All examples are included with download of MBS FileMaker Plugin.

Windows List.fmp12

Overview
Tables1
Relationships0
Layouts1
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
Windows List
8 fields defined, 0 record
Windows List

Fields

Table Name: Windows List - 8 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
NameNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ClassNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          LeftNormal, NumberAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              TopNormal, NumberAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  WidthNormal, NumberAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      HeightNormal, NumberAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          VisibleNormal, NumberAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          • Strict data type: Numeric
                          • Range: 0 - 1
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              HandleNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German

                                  Layout Objects: Windows List

                                  Regular Fields

                                  Field Name: Windows List::Name
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 6 pt
                                  • Bottom: 65 pt
                                  • Right: 259 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: Windows List::Class
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 264 pt
                                  • Bottom: 65 pt
                                  • Right: 517 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: Windows List::Left
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 522 pt
                                  • Bottom: 65 pt
                                  • Right: 601 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: Windows List::Top
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 606 pt
                                  • Bottom: 65 pt
                                  • Right: 685 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: Windows List::Width
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 690 pt
                                  • Bottom: 65 pt
                                  • Right: 769 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: Windows List::Height
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 774 pt
                                  • Bottom: 65 pt
                                  • Right: 853 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: Windows List::Visible
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 858 pt
                                  • Bottom: 65 pt
                                  • Right: 937 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: Windows List::Handle
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 48 pt
                                  • Left: 942 pt
                                  • Bottom: 65 pt
                                  • Right: 1021 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: Update List
                                    Additional Properties:
                                  • Change to hand cursor over button
                                  • Rectangular
                                  • Top: 6 pt
                                  • Left: 66 pt
                                  • Bottom: 31 pt
                                  • Right: 163 pt
                                  • Anchoring: Left, Top
                                  Perform Script [ “Update” ]

                                  Scripts:


                                  Script Hierarchy

                                  Update

                                  Script NameUpdate
                                  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 [ $list; Value:MBS("RemoteControl.GetWindowsList") ]
                                    • Set Variable [ $index; Value:1 ]
                                    • Set Variable [ $count; Value:ValueCount ( $list ) ]
                                    • Delete All Records [ No dialog ]
                                    • Loop
                                    • Set Variable [ $handle; Value:GetAsNumber(MiddleValues ( $list; $index; 1)) ]
                                    • New Record/Request
                                    • Set Field [ Windows List::Name; MBS("Window.GetTitle"; $handle) ]
                                    • Set Field [ Windows List::Class; MBS("Window.GetClassName"; $handle) ]
                                    • Set Field [ Windows List::Top; MBS("Window.GetTop"; $handle) ]
                                    • Set Field [ Windows List::Left; MBS("Window.GetLeft"; $handle) ]
                                    • Set Field [ Windows List::Handle; $handle ]
                                    • Set Field [ Windows List::Visible; MBS("Window.IsVisible"; $handle) ]
                                    • Set Field [ Windows List::Width; MBS("Window.GetWidth"; $handle) ]
                                    • Set Field [ Windows List::Height; MBS("Window.GetHeight"; $handle) ]
                                    • Commit Records/Requests
                                    • Set Variable [ $index; Value:$index +1 ]
                                    • Exit Loop If [ $index> $count ]
                                    • End Loop
                                    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: Windows List

                                            Used functions: