Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 Mishra Nov 20 '12 at 9:27
Check whether it works outside the game. – Ankit Mishra Nov 20 '12 at 9:45
@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 Nov 21 '12 at 6:45
@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 Nov 21 '12 at 8:44
  • 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:


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .