按键精灵怎么写,按2键的同时按3然后就不停的按3就这样循环?

2025-03-24 16:57:10
推荐回答(1个)
回答1:

SetSimMode 1
Dim tim1,tim2,tim3
tim1=now,tim2=now,tim3=now
Rem 始
KeyPress "1", 1
Delay 100
KeyPress "2", 1
Delay 100
KeyPress "3", 1
Delay 100
KeyDown "4", 1
Delay 100
If DateDiff("s",tim3,now) >= 1 Then
tim3=now
KeyPress "8", 1
Delay 100
End if
If DateDiff("s",tim2,now) >= 10 Then
tim2=now
KeyPress "6", 1
Delay 100
End if
If DateDiff("s",tim1,now) >= 600 Then
tim1=now
KeyPress "5", 1
Delay 100
End if
goto 始