How to use AutoHotkey to remap your numpad keys to something useful.


How to use AutoHotkey to remap your numpad keys to something useful.

by Joshua Poehls

Are you tired of having to remember that ALT+0176 is the degree symbol ° ? Maybe there are other special characters that you want to be able to type easier.

Personally it was the degree symbol that got me, and since I never use my numpad, I decided it would be much more useful if those keys actually entered stuff that I cared about.

Here is a quick tutorial in using AutoHotkey to remap one of your numpad keys to the degree symbol. Of course you can expand on this beginning easily to solve whatever woes you are having.

Start out by going to

Download the AutoHotkey_L installer. This is the most recent version of AutoHotkey and specifically supports Unicode which is important for us.

AutoHotkey Download Page


Run the installer and leave all the defaults.

AutoHotkey Installer


Look in your My Documents folder and open up AutoHotkey.ahk in a text editor that you can save as UTF-8 in.

If you don’t know what this means or don’t have an editor that can do this then download Notepad2 and open the file in that program.

Windows Explorer


Now that you have AutoHotkey.ahk opened, delete everything in there (after reading it if you care) and paste the following in its place.

    Send °

Now save this file with UTF-8 encoding. If you are using Notepad2 you can do this by going to File | Encoding | UTF-8 and clicking “Yes” to the warning. Then click File | Save as usual.

Saving the file with UTF-8 encoding


Finally, run the AutoHotkey program from your Start Menu.

AutoHotkey in the start menu


Now to try it out!


Put your focus in any text box. Anywhere. Go ahead. Now make sure you have NumLock turned OFF and hit the 0 key on your numpad.

See what just happened? No, that’s not a superscripted zero. That’s a degree symbol. Now that they are easy to type you are going to have to learn what it is! 😉

You can get a list of other special key names here:

This is just scratching the surface of what you can do with AutoHotkey scripts. Be sure to read up on the documentation for more ideas. Knowledge is power!

Here is a teaser of just a few of the tricks you can do:

  • Create global shortcuts to run programs (ex. CTRL+Z to open a browser and navigate to a specific website.)

  • Replace acronyms or common spelling mistakes (ex. replace “restraunt” -> “restaurant” automatically.)

  • Toggle hidden files in Windows Explorer with a shortcut key.

More About the Author

Joshua Poehls

Software Architect
Tableau via PowerShell, Part 2: Saving Changes This is part 2 of my mini-series on exploring Tableau workbooks with PowerShell. If you missed it, you should read Part 1: Opening ...
Tableau via PowerShell, Part 1: Opening Workbooks In this mini-series I’m going to show you some cookbook style examples for using PowerShell to explore your Tableau workbooks. ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK


Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Geschäftsführer: Mel Stephenson

Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072


Love our blog? You should see our emails. Sign up for our newsletter!