我正在使用此代码。我玩计数器,按 Ctrl 和 Shift .ahk不起作用。 Crtl 和 Shift 中的游戏适用于我需要添加的内容。
capslock::Suspend
f2::ExitApp
~LButton:: ; while holding Left mouse button, usually fire
loop ; preform this and loop it while the fire button is held
{
GetKeyState,updn, LButton, P ; check to see if its down
if updn = U ; if its not down
break ; break the loop
MouseClick, left,,, 2, 0, D ; if the loop isnt broken this
MouseClick, left,,, 1, 0, U ; virtually send 2 downclicks then 1 up very fast
DllCall("mouse_event", uint, 1, int, 0, int, 1, uint, 0, int, 1) ; on the down click move the mouse position this much
}
答案 0 :(得分:2)
尝试将modifyer通配符*
添加到热键中,如果按住 Ctrl 或 Shift
~*LButton::
希望有所帮助