按键精灵9求后台脚本
发布网友
发布时间:2024-10-24 02:33
我来回答
共2个回答
热心网友
时间:2024-11-18 18:47
Hwnd = Plugin.Window.MousePoint()
Do
GetCursorPos x, y
Call Plugin.Bkgnd.RightDown(Hwnd, x, y)
For 60
Delay 1000
Next
Call Plugin.Bkgnd.RightUp(Hwnd, x, y)
Call Plugin.Bkgnd.KeyPress(Hwnd, 20)
Delay 100
Call Plugin.Bkgnd.KeyPress(Hwnd, 83)
Delay 100
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 100
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 100
Call Plugin.Bkgnd.KeyPress(Hwnd, 20)
Delay 100
Loop
每个游戏的后台模式都不同 代码是这样的 能不能用就不知道了
热心网友
时间:2024-11-18 18:48
Rem AAA
Call Plugin.Bkgnd.RightDown(Hwnd, 0, 0)
Delay 60000
Call Plugin.Bkgnd.RightUp(Hwnd, 0, 0)
Delay 200
Call Plugin.Bkgnd.KeyPress(Hwnd, 20)
Delay 200
Call Plugin.Bkgnd.KeyPress(Hwnd, 83)
Delay 200
For 2
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 200
Next
Call Plugin.Bkgnd.KeyPress(Hwnd, 20)
Delay 200
Goto AAA