Project

General

Profile

Actions

On KEYDOWN » History » Revision 4

« Previous | Revision 4/7 (diff) | Next »
Per Amundsen, 01/22/2017 04:30 AM


Added in 1.9.2

on <level>:KEYDOWN:<*#?=!@>:<key,...,keyN>:<commands>

Trigger when a user presses a key in a window, can be used to override built-in key-binds.

See also on KEYUP, $keyval, $keychar, $keyrpt.

Haltable using ^

Parameters

<level> - The level for the event to trigger.
<*#?=!@> - The Matchtarget to listen to.
<key,...,keyN> - The $keyval to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on *:KEYDOWN:*:*:echo -ag Pressed key $keyval in $active

Updated by Per Amundsen almost 8 years ago · 4 revisions

Also available in: PDF HTML TXT