求一个能后台运行的按键精灵脚本
发布网友
发布时间:2024-10-24 02:33
我来回答
共1个回答
热心网友
时间:2024-10-29 07:35
Plugin hwnd =Window.MousePoint()
Var1 = Now
Var2 = Now
Var3 = Now
Rem Loop
If DateDiff ("n",Var1,Now) >= 1
Var1 = Now
Plugin Window.SendKeyPress(hwnd,50)
EndIf
If DateDiff ("n",Var2,Now) >= 10
Var2 = Now
Plugin Window.SendKeyPress(hwnd,51)
EndIf
If DateDiff ("n",Var3,Now) >= 30
Var3 = Now
Plugin Window.SendKeyPress(hwnd,52)
Plugin Window.SendKeyPress(hwnd,53)
EndIf
Goto Loop