按键精灵找图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 展开
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 展开
1个回答
展开全部
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
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
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询