Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets the name of a hotkey.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
HotKey | 5.4 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
HotKeyRef | The reference value for the hotkey as returned by HotKey.Register function. | $hotkey |
Name | The new name. |
Returns OK or error.
Register new hotkey with name:
Set Variable [$HotKeyID; Value:MBS("HotKey.Register"; "F5"; "shift control")]
Set Variable [$r; Value:MBS("HotKey.SetScript"; $HotKeyID; Get(FileName); "HotkeyAction")]
Set Variable [$r; Value:MBS("HotKey.SetName"; $HotKeyID; "Search People")]
This function checks for a license.
Created 21st October 2015, last changed 14th June 2022