按键精灵找图1执行命令A找不到执行命令B,然后找图2找到执行命令C,找不到执行命令D。

MoveTo45,402Delay500LeftClick1Delay1500FindPic360,60,525,78,"Attachment:\1.bmp",0.3,i... MoveTo 45, 402
Delay 500
LeftClick 1
Delay 1500
FindPic 360,60,525,78,"Attachment:\1.bmp",0.3,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "E", 1
Else
MoveTo 895, 10
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
MoveTo 923, 553
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
KeyPress "0", 1
Delay 300
MoveTo 1081, 546
Delay 300
LeftClick 1
KeyPress "Space", 1
Delay 300
KeyPress "0", 1
Delay 300
MoveTo 1128, 546
Delay 300
LeftClick 1
KeyPress "Space", 1
Delay 300
KeyPress "0", 1
Delay 300
MoveTo 1173, 546
Delay 300
LeftClick 1
Delay 300
KeyPress "Space", 1
Delay 300
KeyPress "Space", 1
Delay 300
LeftClick 1
Delay 300
End If
MoveTo 1844, 389
Delay 500
LeftClick 1
Delay 1500
FindPic 360,60,525,78,"Attachment:\2.bmp",0.3,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "E", 1
Else
MoveTo 895, 10
Delay 300
LeftClick 1
Delay 300
MoveTo 983, 563
Delay 300
KeyDown "Shift", 1
RightClick 1
KeyUp "Shift", 1
Delay 300
MoveTo 882, 258
Delay 300
LeftClick 1
Delay 300
End If
MoveTo 45, 402
Delay 500
LeftClick 1
Delay 1500
FindPic 360,60,525,78,"Attachment:\1.bmp",0.3,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "E", 1
Else
MoveTo 895, 10
Delay 300
LeftClick 1
Delay 300
End If

MoveTo 1844, 389
Delay 500
LeftClick 1
Delay 1500
FindPic 360,60,525,78,"Attachment:\2.bmp",0.3,intX,intY
If intX > 0 And intY > 0 Then
KeyPress "E", 1
Else
MoveTo 895, 10
Delay 300
LeftClick 1
Delay 300
End If
展开
 我来答
xjk233255
2018-01-05 · 超过43用户采纳过TA的回答
知道答主
回答量:87
采纳率:87%
帮助的人:24.8万
展开全部
FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
//执行A
Else
//执行B
End If
FindPic 0,0,1024,768,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
//执行C
Else
//执行D
End If
本回答被提问者和网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
AiPPT
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图... 点击进入详情页
本回答由AiPPT提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式