按键精灵找图,帮忙看一下哪里出了问题
FindPic0,0,1024,768,"Attachment:\宝物.bmp",0.9,intX,intYIfintX>0AndintY>0ThenMoveTointX...
FindPic 0,0,1024,768,"Attachment:\宝物.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 1000
LeftClick 1
MoveTo 846, 592
Delay 1000
LeftClick 1
Else
MoveTo 961, 276
Delay 1000
LeftClick 1 展开
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 1000
LeftClick 1
MoveTo 846, 592
Delay 1000
LeftClick 1
Else
MoveTo 961, 276
Delay 1000
LeftClick 1 展开
2个回答
展开全部
FindPic 0,0,1024,768,"Attachment:\宝物.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 1000
LeftClick 1
MoveTo 846, 592
Delay 1000
LeftClick 1
Else
MoveTo 961, 276
Delay 1000
LeftClick 1
End If
//结尾没加end if
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 1000
LeftClick 1
MoveTo 846, 592
Delay 1000
LeftClick 1
Else
MoveTo 961, 276
Delay 1000
LeftClick 1
End If
//结尾没加end if
追问
不行,还是不能按照我预想的那样执行
追答
你起码要告诉我你预想的是什么样的吧?
2015-01-04
展开全部
最后一句加上
End If
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询