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

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: 107 pt
                    • Left: 79 pt
                    • Bottom: 126 pt
                    • Right: 332 pt
                    • Anchoring: Left, Top
                    Field Format:
                    • Edit Box
                    Field Behavior:
                    • Allow field to be entered: In Find mode, In Browse mode
                    • Touch keyboard type: Default for Data Type
                    • Go to next field using: Tab key
                    Yes

                    Field Name: HotKeys::Modifiers
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 130 pt
                    • Left: 79 pt
                    • Bottom: 149 pt
                    • Right: 332 pt
                    • Anchoring: Left, Top
                    Field Format:
                    • Edit Box
                    Field Behavior:
                    • Allow field to be entered: In Find mode, In Browse mode
                    • Touch keyboard type: Default for Data Type
                    • Go to next field using: Tab key
                    Yes

                    Field Name: HotKeys::Comment
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 153 pt
                    • Left: 79 pt
                    • Bottom: 172 pt
                    • Right: 332 pt
                    • Anchoring: Left, Top
                    Field Format:
                    • Edit Box
                    Field Behavior:
                    • Allow field to be entered: In Find mode, In Browse mode
                    • Touch keyboard type: Default for Data Type
                    • Go to next field using: Tab key
                    Yes

                    Field Name: HotKeys::HotKey ID
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 176 pt
                    • Left: 79 pt
                    • Bottom: 195 pt
                    • Right: 332 pt
                    • Anchoring: Left, Top
                    Field Format:
                    • Edit Box
                    Field Behavior:
                    • Allow field to be entered: In Find mode, In Browse mode
                    • Touch keyboard type: Default for Data Type
                    • Go to next field using: Tab key
                    Yes

                    Buttons

                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Register Hotkey
                    • Top: 107 pt
                    • Left: 351 pt
                    • Bottom: 138 pt
                    • Right: 499 pt
                    • Anchoring: Left, Top
                    Perform Script [ “Register” ]

                    Scripts:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Unregister Hotkey
                    • Top: 149 pt
                    • Left: 351 pt
                    • Bottom: 180 pt
                    • Right: 499 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: