$keylocked » History » Version 4
Per Amundsen, 12/24/2018 07:26 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 | 3 | Per Amundsen | ScrollLock|CapsLock|NumLock|Insert - Key to check. |
10 | 1 | Per Amundsen | |
11 | *Example* |
||
12 | |||
13 | <pre> |
||
14 | //echo -ag Caps lock is $iif($keylocked(CapsLock), on, off) |
||
15 | </pre> |