Using Autohotkey, I want to change the function of the * (NumpadMult) key from the numeric keypad to Tab, but only when Num Lock is off. When Num Lock is active, it should remain as *. How is it possible?
Using Autohotkey, I want to change the function of the * (NumpadMult) key from the numeric keypad to Tab, but only when Num Lock is off. When Num Lock is active, it should remain as *. How is it possible?
Searching, I ended up finding the answer to my own question:
$NumpadMult::
if ( GetKeyState("NumLock", "T") ) ; this will be 'true' if NumLock is toggled 'on'
send *
Else
send {tab}
return
Source: link