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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem