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

HotKey.SetKeyUp

Whether to trigger script both on key down and key up.

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

Parameters

Parameter Description Example
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey
Value Pass 1 to receive key down and up events.
Pass 0 to only get one event for key down.
1

Result

Returns OK or error.

Description

Whether to trigger script both on key down and key up.
The script parameter will have two values. First is the hotkey ID and second KeyDown or KeyUp as text.

See also

Release notes

Blog Entries

Created 10th February 2017, last changed 27th August 2020


HotKey.SetIgnoreOnModal - HotKey.SetLocal

Feedback: Report problem or ask question.