MBS FileMaker Plugin Example Databases

Move Mouse

All examples are included with download of MBS FileMaker Plugin.

Move Mouse.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
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
Move Mouse
2 fields defined, 1 record
Move Mouse

Fields

Table Name: Move Mouse - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
MouseXNormal, NumberAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      MouseYNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German

          Layout Objects: Move Mouse

          Regular Fields

          Field Name: Move Mouse::MouseX
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 78 pt
          • Left: 138 pt
          • Bottom: 92 pt
          • Right: 217 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: Move Mouse::MouseY
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 96 pt
          • Left: 138 pt
          • Bottom: 110 pt
          • Right: 217 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: Click here to move mouse
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 30 pt
          • Left: 42 pt
          • Bottom: 56 pt
          • Right: 217 pt
          • Anchoring: Left, Top
          Perform Script [ “MoveMouse” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Query Mouse Position
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 30 pt
          • Left: 240 pt
          • Bottom: 55 pt
          • Right: 385 pt
          • Anchoring: Left, Top
          Perform Script [ “GetMouse” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Move mouse relative
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 30 pt
          • Left: 402 pt
          • Bottom: 56 pt
          • Right: 577 pt
          • Anchoring: Left, Top
          Perform Script [ “MoveMouseRelative” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Click to click right button
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 144 pt
          • Left: 66 pt
          • Bottom: 169 pt
          • Right: 211 pt
          • Anchoring: Left, Top
          Perform Script [ “ClickButton” ]

          Scripts:


          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Other button
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 144 pt
          • Left: 234 pt
          • Bottom: 169 pt
          • Right: 379 pt
          • Anchoring: Left, Top
          Show Custom Dialog [ Message: "Other button was clicked."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

          Script Hierarchy

          MoveMouse
          MoveMouseRelative
          GetMouse
          ClickButton

          Next Script: [MoveMouseRelative]
          Script NameMoveMouse
          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: [MoveMouse]Next Script: [GetMouse]
                          Script NameMoveMouseRelative
                          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 [ $x; Value:MBS("RemoteControl.MouseX") ]
                            • Set Variable [ $y; Value:MBS("RemoteControl.MouseY") ]
                            • Set Variable [ $i; Value:0 ]
                            • Loop
                            • Set Variable [ $x; Value:$x + 10 ]
                            • Set Variable [ $y; Value:$y + 5 ]
                            • Set Variable [ $r; Value:MBS("RemoteControl.MoveMouse"; $x; $y) ]
                            • Set Variable [ $i; Value:$i+1 ]
                            • Exit Loop If [ $i = 10 ]
                            • Pause/Resume Script [ Duration (seconds): ,5 ]
                            • 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

                                          Previous Script: [MoveMouseRelative]Next Script: [ClickButton]
                                          Script NameGetMouse
                                          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: [GetMouse]
                                                    Script NameClickButton
                                                    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

                                                                    Download example: Move Mouse

                                                                    Used functions:




                                                                    Links
                                                                    MBS FileMaker Plugins