
下面的是根据你的源码改的,找色用模糊查找试试 While 1=1 IfColor 850,611,003253,0(准备坐标+颜色) Delay 10 MoveTo 850,611 Delay 200 LeftClick 1 Delay 500 IfColor 809,613,FEFEFE,2(返回坐标+颜色) Delay 10 MoveTo 809,613 Delay 200 LeftClick 1 Delay 500 EndWhile 也可以用屏幕找图的方法 1.bmp是准备按钮 2.bmp是返回按钮 While 1=1 VBSCall FindPic(0,0,1024,768,"1.bmp",0.9,x1,y1) If x1>=0 and y1>=0 KeyPress 116,1 Delay 2000 EndIf Delay 500 VBSCall FindPic(0,0,1024,768,"2.bmp",0.9,x2,y2) If x2>=0 and y2>=0 MoveTo x2,y2 Delay 100 LeftClick 1 EndIf Delay 500 EndWhile
