Open KorRoman9789 opened 3 months ago
Global AHI := new AutoHotInterception() Global KeyBoard_ID := "5"
$*x:: while (GetKeyState("x", "P")) { scancode := 0x2D
AHI.SendKeyEvent(KeyBoard_ID, scancode, 0) Sleep, 10 AHI.SendKeyEvent(KeyBoard_ID, scancode, 1) Sleep, 10 }
return
exitapp
include Lib\AutoHotInterception.ahk
InstallKeybdHook
Global AHI := new AutoHotInterception() Global KeyBoard_ID := "5"
$*x:: while (GetKeyState("x", "P")) { scancode := 0x2D
return
exitapp