AutoHotKey KeyWait选择一切?

时间:2018-04-17 14:14:14

标签: autohotkey

所以每当我点击它类型3,然后是4,然后是3,依此类推,我就制作了这个脚本,依此类推。但我的问题是,当我点击太快,或者有时只是随机点击时,它会选择所有内容然后将其删除。知道为什么吗?

a = 3

loop {
reset:
a = 3
goto start
start:

if (a = 3) {
KeyWait, LButton, D
KeyWait, LButton
sleep 50
send, 4
a = 4
goto, start
}

else {
KeyWait, LButton, D
KeyWait, LButton
sleep 50
send, 3
a = 3
goto, start
}
F11::
Pause
goto, reset
}



!z::ExitApp

0 个答案:

没有答案