按键精灵多线程怎么写
每十秒按次A
每三秒按次B
每七秒按次C
这三个命令同时进行怎么写- -多线程写法也很简单,而且容易看懂,修改参数比较简单
BeginThread A
Delay 10
BeginThread B
Delay 10
BeginThread C
Sub A()
While true
KeyPress "A", 1
For 10
Delay 1000
Next
Wend
End Sub
Sub B()
While true
KeyPress "B", 1
For 3
Delay 1000
Next
Wend
End Sub
Sub C()
While true
KeyPress "C", 1
For 7
Delay 1000
Next
Wend
End Sub
下一篇:按键精灵循环找图问题
上一篇:按键精灵怎么用
热门标签: