I want to have Num Lock on (be able to use the numbers), but have the LED indicator on my keyboard turned off. I don't know what way I want to do this (Autoit, AutoHotKey, C#...).
I found this link and tested the code from evl, but it doesn't seem to do anything for me.
Windows-only solution:
Just add the following remappings to your AutoHotkey script:
NumpadIns:: Send 0
NumpadEnd:: Send 1
NumpadDown:: Send 2
NumpadPgDn:: Send 3
NumpadLeft:: Send 4
NumpadClear:: Send 5
NumpadRight:: Send 6
NumpadHome:: Send 7
NumpadUp:: Send 8
NumpadPgUp:: Send 9
NumpadDel:: Send .
This way, no matter whether NumLock
is on or off, pressing the numbers on the numeric keypad will always type the numbers (and .
instead of Del
).
Enjoy your light-free keyboard!
PS: You can find the key list on Autohotkey's Help (right click on your script's icon on the taskbar and click Help
) under Usage and Syntax
, Key List (Keyboard, Mouse, Joystick)
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.