按键精灵找图找字
RemaFindPic0,0,1024,768,"Attachment:\555.bmp",1,intX,intYIfintX>0AndintY>0ThenKeyDown...
Rem a
FindPic 0, 0, 1024, 768, "Attachment:\555.bmp", 1, intX, intY
If intX > 0 And intY > 0 Then
KeyDown 18, 1
KeyPress 88, 1
KeyUp 18, 1
FindPic 0,0,1024,768,"Attachment:\666.bmp",0.9,intX,intY
MoveTo intX, intY
Delay 1000
LeftClick 1
Delay 1000
FindPic 0,0,1024,768,"Attachment:\12345678.bmp",0.9,intX,intY
MoveTo intX+5, intY+5
Delay 500
LeftClick 1
Delay 1000
FindPic 0, 0, 1024, 768, "Attachment:\666.bmp", 0.9, intX, intY
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 1000
Else
Goto a
End If
我想是找的这个图后就执行以下代码,找不到就返回a继续找直到找到后执行下面代码,但是实际操作后没找到就执行下面代码了什么回事 展开
FindPic 0, 0, 1024, 768, "Attachment:\555.bmp", 1, intX, intY
If intX > 0 And intY > 0 Then
KeyDown 18, 1
KeyPress 88, 1
KeyUp 18, 1
FindPic 0,0,1024,768,"Attachment:\666.bmp",0.9,intX,intY
MoveTo intX, intY
Delay 1000
LeftClick 1
Delay 1000
FindPic 0,0,1024,768,"Attachment:\12345678.bmp",0.9,intX,intY
MoveTo intX+5, intY+5
Delay 500
LeftClick 1
Delay 1000
FindPic 0, 0, 1024, 768, "Attachment:\666.bmp", 0.9, intX, intY
MoveTo intX, intY
Delay 500
LeftClick 1
Delay 1000
Else
Goto a
End If
我想是找的这个图后就执行以下代码,找不到就返回a继续找直到找到后执行下面代码,但是实际操作后没找到就执行下面代码了什么回事 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询