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

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

This function checks for a license.

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


HotKey.SetIgnoreOnModal - HotKey.SetLocal