Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

HotKey.SetEnabled

Sets the enabled state.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
HotKey 5.4 Yes Yes No No No

MBS( "HotKey.SetEnabled"; HotKeyRef; Value )

Parameters

Parameter Description Example value
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


HotKey.Register   -   HotKey.SetEvaluate

Feedback: Report problem or ask question.




Links
MBS Xojo blog