你要后台 是吗 改成后台指令不就得了
'还是假设你要的坐标是(x,y),并假设你要的窗口句柄为Hwnd,那么:
Do
GetColor=Plugin.BkgndColor.GetPixelColor(Hwnd, x, y)
if GetColor="0000FF" then
Call Plugin.Bkgnd.KeyPress(Hwnd, 86):Delay 200
Else
Call Plugin.Bkgnd.KeyPress(Hwnd, 49):Delay 300
Call Plugin.Bkgnd.KeyPress(Hwnd, 50):Delay 200
end if
Delay 1000
Loop
用大漠插件做后台比较靠谱