Shift + NumpadKeys Not Remappable? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
WalterRoberts
Posts: 67
Joined: 25 Feb 2020, 20:00

Shift + NumpadKeys Not Remappable?

Post by WalterRoberts » 21 Jun 2021, 12:09

When using Shift with the NumpadKeys (while NumLock is toggled On) all the numeric keys will instead produce the key event for the underlying secondary layout, so Numpad1 will produce NumpadEnd (not Shift + NumpadEnd) and so on. I have done a bit of researched and it seems like this is driver related similar to the virtual key repeat feature.
Is there some sort of trick to nevertheless use Shift + Numpad1-9 for hotkeys or is this simply not possible?
gregster
Posts: 9013
Joined: 30 Sep 2013, 06:48

Re: Shift + NumpadKeys Not Remappable?  Topic is solved

Post by gregster » 21 Jun 2021, 12:14

Just use the shifted key names: https://www.autohotkey.com/docs/KeyList.htm#numpad
For example:

Code: Select all

Numpad1::
NumpadEnd::
MsgBox			; triggered by Numpad1 and Shift+Numpad1
return
Post Reply

Return to “Ask for Help (v1)”