按键精灵怎么写脚本,每隔3分钟按一次数字键8

2025-02-28 07:33:58
推荐回答(1个)
回答1:

//方法1
t = now
Do
a=datediff("n",t,now)
TracePrint a
If a >= 3 Then
t=now
KeyPress "8", 1
End If
Delay 1000
Loop
//方法2
Do
KeyPress "8", 1
Delay 180000
loop