Project

General

Profile

$keylocked » History » Version 5

Per Amundsen, 02/23/2023 04:10 PM

1 1 Per Amundsen
_Added in 1.9.6_
2
3 4 Per Amundsen
*$keylocked(ScrollLock|CapsLock|NumLock|Insert)*
4 1 Per Amundsen
5 2 Per Amundsen
Returns [[$true]] if key is locked, otherwise [[$false]]
6 1 Per Amundsen
7
*Parameters*
8
9 5 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| ScrollLock<notextile>|</notextile>CapsLock<notextile>|</notextile>NumLock<notextile>|</notextile>Insert | Key to check. |
12 1 Per Amundsen
13
*Example*
14
15
<pre>
16
//echo -ag Caps lock is $iif($keylocked(CapsLock), on, off)
17
</pre>