0AndintY>0Then//如果找到执行命今elsei=2EndIfIfi=2thenFindPic271,209,280,217,"Attachment:\1.bmp",0.9,in" />

关于如何提高按键精灵找图精度

关于如何提高按键精灵找图精度
i = 1
j = 1
k = 1
While i=k
If i=1 then
FindPic 271,209,280,217,"Attachment:\1.bmp",1,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
i = 2
End If
If i=2 then
FindPic 271,209,280,217,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
i = 3
End If

If i=3 then
FindPic 271,209,280,217,"Attachment:\1.bmp",0.8,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
i = 4
End If

.......................

................................
If j=1 then
FindPic 271,209,280,217,"Attachment:\2.bmp",1,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
j = 2
End If
If i=2 then
FindPic 271,209,280,217,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
j = 3
End If

If i=3 then
FindPic 271,209,280,217,"Attachment:\2.bmp",0.8,intX,intY
If intX > 0 And intY > 0 Then
//如果找到执行命今
else
j = 4
End If

.......................

................................

Wend

相关文档
最新文档