Property HotkeyTriggers.this(+ 1 overload)
Overload
Adds a hotkey trigger.
public Action<HotkeyTriggerArgs> this[string hotkey, TKFlags flags = 0, string f_ = null, int l_ = 0] { set; }
Parameters
hotkey (string)
A hotkey, like with keys.send.
Can contain 0 to 4 modifier keys ( |
flags (TKFlags) |
f_ (string) |
l_ (int) |
Exceptions
ArgumentException
Invalid hotkey string or flags. |
InvalidOperationException
Cannot add triggers after ActionTriggers.Run was called, until it returns. |
Property Value
Examples
See ActionTriggers.
Overload(top)
Adds a hotkey trigger.
public Action<HotkeyTriggerArgs> this[KKey key, string modKeys, TKFlags flags = 0, string f_ = null, int l_ = 0] { set; }
Parameters
key (KKey) |
modKeys (string)
Modifier keys, like with keys.send.
Examples: |
flags (TKFlags) |
f_ (string) |
l_ (int) |
Exceptions
ArgumentException
Invalid modKeys string or flags. |
InvalidOperationException
Cannot add triggers after ActionTriggers.Run was called, until it returns. |