Mapping a key to something that is not on the keyboard

You can accomplish this using AutoHotkey.

Here is a quick script:

File: Signs.ahk

#,::
Send {Asc 060}
return

#.::
Send {Asc 062}
return

When ran, this will allow you to send < and > by simply pressing the following keys:

  • WinKey+, to send a <
  • WinKey+. to send a >

NOTE: You do not need to map it to the WinKey, you can use Ctrl, Alt or any combination of those keys therein. Documentation for that can be found at the following KB article: Send/SendRaw/SendInput/SendPlay

You simply create the file w/ the .ahk extension, and execute it (or Right Click -> Open With... -> AutoHotkey.

This works (I tested it by switching my keyboard layout to ND and testing it. The reason this works is because AutoHotkey can send the ASCII equivalent to the < and > properly to any window that accepts that type of input.

I mapped them that way simply because on the English keyboard, they are on the same keys at those listed, but you can map them to whatever. However, i do notice that F1 through F12 will not work, given that the ND keyboard layout has no idea what those are properly.