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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

HotKey.SetName

Sets the name of a hotkey.

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

Parameters

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

Result

Returns OK or error.

Description

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

Examples

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")]

See also

Blog Entries

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


HotKey.SetLocal - HotKey.SetPermanent

Feedback: Report problem or ask question.