Emulating the US keyboard backslash key on a Scandinavian keyboard

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bjornekelund
Posts: 2
Joined: 04 Sep 2017, 03:53

Emulating the US keyboard backslash key on a Scandinavian keyboard

15 Aug 2018, 04:08

I'm a autohotkey noob and I have an application which is designed for US keyboards in
which the backslash key has a vital function but on Scandinavian keyboards backslash
is AltGr-+ and does not work.

I would like to map another key to the equivalent of the US keyboard backslash
(preferrably the umlaut prefix key ^¨~, but e.g. one of the ÅÄÖ keys would also work)

I have a hunch this could be achieved with scan codes but I don't seem to be able to
figure out which one US backslash is and how to properly pass it to the application.

I tried a simple

sc01b::Send {\} ; Umlaut key remapped to \

Just to test but it just sends the ASCII character "\" to the application, it does not emulate the keypress.

Perhaps it's as easy as if someone with a US keyboard can hit the \ on the keyboard and tell me the correct
scan code from Key History?

Any help is appreciated.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Joey5, mcd, NullRefEx, supplementfacts and 129 guests