按键精灵不能连续找图是什么问题
FindPic0,0,1024,768,"Attachment:\3图标1.bmp",0.9,intX,intYIfintX>0AndintY>0ThenMoveToin...
FindPic 0,0,1024,768,"Attachment:\3图标1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftDoubleClick 1
End If
FindPic 0,0,1024,768,"Attachment:\300确认选择.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+1, intY
LeftClick 1
End If
Delay 300
FindPic 0,0,1024,768,"Attachment:\登入游戏.bmp",0.9,intX,intY
If intX+2 > 0 And intY > 0 Then
MoveTo intX+100, intY-105
LeftClick 1
找到第一张双击后就不自动找下一张了,请问问题出在哪里,新手不懂 展开
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftDoubleClick 1
End If
FindPic 0,0,1024,768,"Attachment:\300确认选择.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+1, intY
LeftClick 1
End If
Delay 300
FindPic 0,0,1024,768,"Attachment:\登入游戏.bmp",0.9,intX,intY
If intX+2 > 0 And intY > 0 Then
MoveTo intX+100, intY-105
LeftClick 1
找到第一张双击后就不自动找下一张了,请问问题出在哪里,新手不懂 展开
1个回答
展开全部
代码加个do死循环就行了
如
do
FindPic 0,0,1024,768,"Attachment:\3图标1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftDoubleClick 1
End If
FindPic 0,0,1024,768,"Attachment:\300确认选择.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+1, intY
LeftClick 1
End If
delay 300
loop
如
do
FindPic 0,0,1024,768,"Attachment:\3图标1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftDoubleClick 1
End If
FindPic 0,0,1024,768,"Attachment:\300确认选择.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+1, intY
LeftClick 1
End If
delay 300
loop
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询