Is it possible to make the Numpad 5 button work as the Numpad Down button while Num Lock is on?

2

I hope someone can help me out with this; I use a laptop and I like to play games a lot that are arrow key dependent. So after a while of using my laptop, I accidentally broke the Down Arrow key. So I decided to try and find out how to make the Numpad5 button work as the Numpad Down button while Numlock is on. I was trying to use AutoHotkey, but so far I've had no luck. Can anyone help me out with this?

So far the scripts I used that didn't work were Numpad5::NumpadDown or Numpad5::Down. Am I doing something wrong here?

Edwin Aleman

Posted 2012-11-20T03:49:43.593

Reputation: 21

As an alternative you can try using 2 as Down Arrow (with Numlock Off), I think it is inbuilt and shouldn't need AHK. Is there any particular reason to have it working with Numlock ON. – Ankit – 2012-11-20T09:27:20.963

Check whether it works outside the game. http://www.autohotkey.com/docs/FAQ.htm#games

– Ankit – 2012-11-20T09:45:58.830

@Lamb, as far an I'm concerned numlock needs to be on to use the numpad arrow keys. And I'm trying to do this to play a game because one of my arrow keys is broken. I figured it out though. But the game doesn't seem to like the change so now it's a whole different problem. Thanks though.. – Edwin Aleman – 2012-11-21T06:45:24.970

@EdwinAleman Typically, numlock on means use the numbers while numlock off means use the arrows/home/pgup/end/pgdn keys. But that should not affect how AHK sees the keys. – Bob – 2012-11-21T08:44:48.643

Answers

1

  • Open the ahk-window by double-clicking the pictogram (right below in the taskbar).
  • View menu: Key history and script info.
  • Press numpad 5 while numlock is off
  • Press F5 to see the VK code of numpad5.

My keyboard numpad5 is 0C, so the script is:

vk0C::NumpadDown

Guyver2

Posted 2012-11-20T03:49:43.593

Reputation: 11

0

In case anyone like me find this page by wanting the same thing, the answer is NumpadClear::NumpadDown

Mu-Tsun Tsai

Posted 2012-11-20T03:49:43.593

Reputation: 141