77问答网
所有问题
按键精灵 同时多个循环
“1”每隔2秒要按一下,“5”每隔12秒要按一下,“8”每隔120秒要按一下
这个用按键精灵怎么写代码
举报该问题
推荐答案 推荐于2018-03-21
多线程就可以了。代码如下:
//子程序
Sub KeyPress_Key(Key, t)
While True
KeyPress Key, 1
Delay t
Wend
End Sub
//线程开启
BeginThread KeyPress_Key(49, 2000)
BeginThread KeyPress_Key(53, 12000)
BeginThread KeyPress_Key(56, 120000)
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://77.wendadaohang.com/zd/YvI8qIqI8p88WqNpIpN.html
相似回答
大家正在搜
相关问题
按键精灵怎么无限循环一个脚本
按键精灵如何循环两个脚本
按键精灵怎样让一个命令循环?
按键精灵怎么设置两个键循环
按键精灵!怎么让他 同时 循环一个命令 并执行其它命令
按键精灵在同一窗口执行多个独立循环任务冲突
按键精灵 如何在循环中,找两张图,找到其中随意一张图就跳出循...