$keylparam » History » Version 2
Per Amundsen, 09/06/2022 01:16 PM
1 | 1 | Per Amundsen | _Added in 4.3_ |
---|---|---|---|
2 | |||
3 | *$keylparam* |
||
4 | |||
5 | 2 | Per Amundsen | Returns the "lParam":https://docs.microsoft.com/en-us/windows/win32/learnwin32/writing-the-window-procedure value for the key(s) during [[On_KEYDOWN]] and [[on KEYUP]] events. |
6 | 1 | Per Amundsen | |
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | on *:KEYDOWN:*:*:echo -sg lParam is $keylparam |
||
11 | |||
12 | on *:KEYUP:*:*:echo -sg lParam is $keylparam |
||
13 | </pre> |