代码:
LAlt::
SetTimer, myfunc, on
return
RAlt::
SetTimer, myfunc, Delete
return
myfunc()
{
Send,a
Sleep 300
Send,b
Sleep 300
Send,c
Sleep 300
Send,d
Sleep 300
Send,e
Sleep 300
Send,f
Sleep 300
Send,g
Sleep 300
Send,h
Sleep 300
}
输出:
abcdefgh
就是按下RALT要等全部执行完才停止有什么办法能马上停止并且再次按下LALT时从头(send,a)开始执行