Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
HotKey.List
Lists all hotkeys.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
HotKey | 5.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "HotKey.List" )
Parameters
none
Result
Returns list or error.
Description
Lists all hotkeys.Returns list with IDs for currently registered hotkeys.
This helps debugging, especially finding scripts which do not release their objects properly.
Examples
Queries hotkeys:
While(
[
names = "";
// query list of hotkeys
list = MBS( "HotKey.List" );
count = ValueCount(list);
index = 1
] ;
index ≤ count ;
[
HotKeyRef = GetValue(list; index);
// query name of hotkey
name = MBS( "HotKey.GetName"; HotKeyRef );
names = names & HotKeyRef & " -> " & name & ¶;
index = index + 1
] ;
// return all the names
names )
Example result: 35001 -> test
See also
Example Databases
This function is free to use.
Created 29th June 2015, last changed 14th June 2022