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


Sets the tag of a hotkey.

Component Version macOS Windows Linux Server iOS SDK
HotKey 5.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "HotKey.SetTag"; HotKeyRef )   More


Parameter Description Example
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey


Returns OK or error.


Sets the tag of a hotkey.
This is just your own value which you can query. The plugin does not use this information.


Register new hotkey with tag:

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.SetTag"; $HotKeyID; "Search People")]

See also

Blog Entries

This function checks for a license.

Created 21st October 2015, last changed 21st October 2015

HotKey.SetScriptWorkspaceOnly - HotKey.Unregister