-1

How can I change a key on my keyboard so that it produces a different character than what it was designed to produce? I find the Tilde key (the little key with ∼ above the Tab key) useless and I would like it to produce the n-dash (–) when I press it. I am not a programmer, so I would like a very dumbed-down explanation with steps. Thanks to anyone who makes their time to respond to this.
My operating system is Windows 10 and the language of the keyboard is Slovene.

keyboard picture

Dominique
  • 2,373

1 Answers1

0

You can remap a key

For the advantages and disadvantages of each approach, see registry remapping.

EDIT:

Remapping per AutoHotkey:

~::–

EDIT 2:

In the rare case where a key has no name or the standard code doesn't work, hotkeys can be triggered by using the 3-digit hexadecimal scan code (SC) of a key.

The scan code of a key can be determined by following the steps at Special Keys:

  • Run a script with keyboard hook
  • open the AutoHotkey window (context menu in systray, Open item)
  • go to View > Key History and script info
  • type the key
  • hit F5 to see the code

Then you can try e.g.

SC174::SendInput –

Replace 174 by the number found in the Key History.

Relax
  • 3,785