s1 = Plugin.Sys.GetTime()
s2 = s1
s3 = s1
Do
If int((Plugin.Sys.GetTime()- s1)*0.001) >= 3 Then '判断间隔3秒
s1 = Plugin.Sys.GetTime()
'KeyPress 113, 1 'f2
TracePrint "f2"
End If
If int((Plugin.Sys.GetTime()- s2)*0.001) >= 5 Then '判断间隔5秒
s2 = Plugin.Sys.GetTime()
'KeyPress 114, 1'f3
'Delay 100
'KeyPress 113, 1 'f4
TracePrint "f3"
TracePrint "f4"
End If
If int((Plugin.Sys.GetTime()- s3)*0.001) >= 360 Then '判断间隔6分钟
s3 = Plugin.Sys.GetTime()
'KeyPress 120, 1'f9
TracePrint "f9"
End If
Delay 1000
Loop
后台自己看着改进去吧
追问大佬,要不发份模板给我吧,不会搞啊...
追答这个不就是?