I came across this page about Capslock, Numlock and Scrolllock:
https://www.autohotkey.com/docs/commands/SetNumScrollCapsLockState.htm
but I don't quite understand it.
Question 1
If I want to disable the key, how should it be written, is it like this:
Code: Select all
Numlock::
SetNumLockState, Off
return
Code: Select all
numlock:: return
Question 2
If I want to hotkey, can I simply write it like this:
Code: Select all
$Numlock:: Send, ^+{i} ;Screenshot
Code: Select all
$Numlock::
SetNumLockState, Off
Send, ^+{i} ;Screenshot
return
If these are not correct, please kindly enlighten how is the proper way.
thank you.