【发布时间】:2014-11-30 01:19:40
【问题描述】:
我正在使用此代码。我玩计数器,按 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
}
【问题讨论】:
标签: autohotkey ctrl