$keylocked » History » Version 3
Per Amundsen, 11/18/2017 06:42 AM
1 | 1 | Per Amundsen | _Added in 1.9.6_ |
---|---|---|---|
2 | |||
3 | *$keylocked(ScrollLock|CapsLock|NumLock)* |
||
4 | |||
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> |