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

HotKey.SetEnabled

Sets the enabled state.

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

Parameters

Parameter Description Example
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey
Value The new state. 1 to enable, 0 to disable. 1

Result

Returns OK or error.

Description

Sets the enabled state.
The plugin does not trigger script if hotkey is temporary disabled.

Examples

Set state:

MBS( "HotKey.SetEnabled"; "35001"; 0 )

See also

Blog Entries

This function checks for a license.

Created 29th October 2015, last changed 29th October 2015


HotKey.Register - HotKey.SetEvaluate