按键精灵,找到图执行第一个命令,找不到图执行第二个命令
indPic0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intYIfintX>0AndintY>0ThenDelay500Lef...
indPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 500
LeftDown 1
End If
MoveTo 937, 178
Delay 300
LeftDown 1
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 600, 370
Delay 500
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
End If
如果找不到,抽奖 跟 确定 的2个图 怎么执行下个命令,也就是重新执行到开始那里,求高手帮忙 展开
If intX > 0 And intY > 0 Then
Delay 500
LeftDown 1
End If
MoveTo 937, 178
Delay 300
LeftDown 1
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 600, 370
Delay 500
LeftClick 1
End If
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
End If
如果找不到,抽奖 跟 确定 的2个图 怎么执行下个命令,也就是重新执行到开始那里,求高手帮忙 展开
2个回答
展开全部
已经修改好了,答题就这么个意思,有疑问在问我,加企鹅问我就行,我ID就是
Do
Rem a
indPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 500
MoveTo intX, intY
LeftClick 1
Else
Goto a
End If
MoveTo 937, 178
Delay 300
LeftDown 1
Rem b
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX1,intY1
If intX1 > 0 And intY1 > 0 Then
MoveTo intX1, intY1
Delay 500
LeftClick 1
Else
Goto b
End If
Rem c
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX2,intY2
If intX2 > 0 And intY2 > 0 Then
MoveTo intX2, intY2
Delay 2000
LeftClick 1
Else
goto c
End If
Loop
Do
Rem a
indPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 500
MoveTo intX, intY
LeftClick 1
Else
Goto a
End If
MoveTo 937, 178
Delay 300
LeftDown 1
Rem b
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX1,intY1
If intX1 > 0 And intY1 > 0 Then
MoveTo intX1, intY1
Delay 500
LeftClick 1
Else
Goto b
End If
Rem c
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX2,intY2
If intX2 > 0 And intY2 > 0 Then
MoveTo intX2, intY2
Delay 2000
LeftClick 1
Else
goto c
End If
Loop
AiPPT
2024-09-19 广告
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图...
点击进入详情页
本回答由AiPPT提供
展开全部
While c = 0
Rem ks
FindPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 500
LeftDown 1
End If
Wend
Sub a()
MoveTo 937, 178
Delay 300
LeftDown 1
Call b()
End Sub
Sub b()
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 600, 370
Delay 500
LeftClick 1
Goto ks
End If
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Goto ks
End If
End Sub
Goto ks
Rem ks
FindPic 0,0,1024,768,"Attachment:\开始.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 500
LeftDown 1
End If
Wend
Sub a()
MoveTo 937, 178
Delay 300
LeftDown 1
Call b()
End Sub
Sub b()
FindPic 0,0,1024,768,"Attachment:\抽奖.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
MoveTo 600, 370
Delay 500
LeftClick 1
Goto ks
End If
FindPic 0,0,1024,768,"Attachment:\确定.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
Delay 2000
LeftClick 1
Goto ks
End If
End Sub
Goto ks
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询