Hello dear friends,
On Lenovo Ideapad 300 keyboards there is a key above Fn and to the right of Left Shift which can type \ (and | when pressed with Shift).
However, AutoHotkey can't recognize this key.
I tried ^\:: and ^|:: codes but nothing happens when I press Ctrl+\.
Would you please tell me what code I have to use for this key or whether there is another solution?
AutoHotkey can't recognize a key on my keyboard Topic is solved
Re: AutoHotkey can't recognize a key on my keyboard
Dear @BoBo, thank you very much for your help!
Re: AutoHotkey can't recognize a key on my keyboard
This script tells you the code of the key you press. I hope it helps you.
Code: Select all
SetFormat, Integer, Hex
Gui +ToolWindow -SysMenu +AlwaysOnTop
Gui, Font, s14 Bold, Arial
Gui, Add, Text, w100 h33 vSC 0x201 +Border, {SC000}
Gui, Show,, % "// ScanCode //////////"
Loop 9
OnMessage( 255+A_Index, "ScanCode" ) ; 0x100 to 0x108
Return
ScanCode( wParam, lParam ) {
Clipboard := "SC" SubStr((((lParam>>16) & 0xFF)+0xF000),-2)
GuiControl,, SC, %Clipboard%
}