按ctrl和shift不工作站.ahk

时间:2014-11-30 01:19:40

标签: autohotkey ctrl

我正在使用此代码。我玩计数器,按 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
}

1 个答案:

答案 0 :(得分:2)

尝试将modifyer通配符*添加到热键中,如果按住 Ctrl Shift

,它仍然有效
~*LButton::

希望有所帮助