MBS FileMaker Plugin Example Databases

HotKeys

All examples are included with download of MBS FileMaker Plugin.

HotKeys.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
HotKeys
4 fields defined, 2 records
HotKeys

Fields

Table Name: HotKeys - 4 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
CodeNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ModifiersNormal, 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
                HotKey IDNormal, TextAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1
                • Indexing: None
                • Automatically create indexes as needed
                • Index Language: German

                    Layout Objects: HotKeys

                    Regular Fields

                    Field Name: HotKeys::Code
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 24 pt
                    • Left: 138 pt
                    • Bottom: 38 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: HotKeys::Modifiers
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 42 pt
                    • Left: 138 pt
                    • Bottom: 56 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: HotKeys::Comment
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 60 pt
                    • Left: 138 pt
                    • Bottom: 74 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: HotKeys::HotKey ID
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 78 pt
                    • Left: 138 pt
                    • Bottom: 92 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: Register Hotkey
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 30 pt
                    • Left: 402 pt
                    • Bottom: 55 pt
                    • Right: 511 pt
                    • Anchoring: Left, Top
                    Perform Script [ “Register” ]

                    Scripts:


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

                    Scripts:


                    Script Hierarchy

                    HotKeyAction
                    Register
                    Unregister
                    Trace

                    Next Script: [Register]
                    Script NameHotKeyAction
                    Run script with full access privilegesOff
                    Include In MenuYes
                    Layouts that use this script
                      Scripts that use this script
                        Script Definition
                        Script Steps
                        • Show Custom Dialog [ Message: "Hotkey pressed with ID: " & Get(ScriptParameter); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                        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: [HotKeyAction]Next Script: [Unregister]
                                      Script NameRegister
                                      Run script with full access privilegesOff
                                      Include In MenuYes
                                      Layouts that use this script
                                      Scripts that use this script
                                        Script Definition
                                        Script Steps
                                        • Set Field [ HotKeys::HotKey ID; MBS("Hotkey.Register"; HotKeys::Code; HotKeys::Modifiers) ]
                                        • Set Variable [ $r; Value:MBS("HotKey.SetScript"; HotKeys::HotKey ID; Get(FileName); "HotkeyAction") ]
                                        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: [Register]Next Script: [Trace]
                                                Script NameUnregister
                                                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("Hotkey.Unregister"; HotKeys::HotKey ID) ]
                                                  • Set Field [ HotKeys::HotKey ID; "" ]
                                                  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: [Unregister]
                                                          Script NameTrace
                                                          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") ]
                                                              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: HotKeys

                                                                            Used functions:




                                                                            Links
                                                                            MBS FileMaker blog