maozz | 四级
正解!
我完善下
Hwnd = Plugin.Window.MousePoint() //这里鼠标指向窗口
Do
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 50
Loop
Hwnd = Plugin.Window.Foreground()
Do
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 50
Loop