Skip to content

Commit e2cbb60

Browse files
committed
fix virtual key for `
1 parent e74ccf9 commit e2cbb60

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

WIH w3c.ahk

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ GroupAdd, WC3DOTA , Warcraft III
2525
VK_LIST = VK41,VK42,VK43,VK44,VK45,VK46,VK47,VK48,VK49,VK4A,VK4B,VK4C,VK4D,VK4E,VK4F,VK50,VK51,VK52,VK53,VK54,VK55,VK56,VK57,VK58,VK59,VK5A,VK30,VK31,VK32,VK33,VK34,VK35,VK36,VK37,VK38,VK39,VKC0,VKDB,VKDD,VKBE,VKBF,VKBA,VKDE,VKDC
2626
HK_LIST = A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,``,[,],.,/,;,',\
2727

28-
Version=WIH v1.1.1 (w3c)
28+
Version=WIH v1.1.2 (w3c)
2929

3030
IniRead, WorkEverywhere, %A_WorkingDir%\wih.ini, Others, WorkEverywhere, 0
3131
if !WorkEverywhere
@@ -358,7 +358,7 @@ gui, add, checkbox, vWinModifier x+0 gHotkey_UpdateHotkey, &Win
358358

359359
gui, add, groupbox,x10 w220 h180, Keys
360360

361-
gui, add, radio, xp+5 yp+30 vRadioKey gHotkey_UpdateKeyList Checked, Standart
361+
gui, add, radio, xp+5 yp+30 vRadioKey gHotkey_UpdateKeyList Checked, Standard
362362
gui, add, radio, y+10 gHotkey_UpdateKeyList, Function
363363
gui, add, radio, y+10 gHotkey_UpdateKeyList, Numpad
364364
gui, add, radio, y+10 gHotkey_UpdateKeyList, Mouse
@@ -763,6 +763,8 @@ VK(Param)
763763
return % RegExReplace(Param, "\.$", "VKBE")
764764
if InStr(Param,"/")
765765
return % RegExReplace(Param, "\/$", "VKBF")
766+
if InStr(Param,"``")
767+
return % RegExReplace(Param, "\``$", "VKC0")
766768
Hotkey:=RegExReplace(Param, "[\^\!\+\#]+(.*)", "$1")
767769
If StrLen(Hotkey) > 1
768770
return Param
@@ -776,8 +778,8 @@ VK(Param)
776778
}
777779
}
778780

779-
EmptyMem(PID="WIH.v1.1.1.w3c"){
780-
pid:=(pid="WIH.v1.1.1.w3c") ? DllCall("GetCurrentProcessId") : pid
781+
EmptyMem(PID="WIH.v1.1.2.w3c"){
782+
pid:=(pid="WIH.v1.1.2.w3c") ? DllCall("GetCurrentProcessId") : pid
781783
h:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)
782784
DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)
783785
DllCall("CloseHandle", "Int", h)

0 commit comments

Comments
 (0)