先说思路,每次找到图片后做一下判断,是否超过2分钟,如果超过就跳转
Rem 循环
FindPic 818, 100,850, 117,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 100
MoveTo 858, 127
Delay 10
LeftDown 1
Delay 1000
now1=now
End If
FindPic 818, 100,850, 117,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 100
MoveTo 838, 127
Delay 10
LeftDown 1
Delay 10000
now2=now
if (now2-now1)>120000 then
Goto 跳出循环
Else
Delay 100
Goto 循环
End If
Rem 跳出循环
KeyPress "F5", 1
MoveTo 738, 127
LeftDown 1
Goto 循环
先说思路,每次找到图片后做一下判断,是否超过2分钟,如果超过就跳转
Rem 循环
FindPic 818, 100,850, 117,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 100
MoveTo 858, 127
Delay 10
LeftDown 1
Delay 1000
now1=now
End If
now1 = now
Rem 循环
FindPic 818, 100,850, 117,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 100
MoveTo 858, 127
Delay 10
LeftDown 1
Delay 1000
End If
FindPic 818, 100,850, 117,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Delay 100
MoveTo 838, 127
Delay 10
LeftDown 1
Delay 10000
Goto 循环
Else
Delay 100
Goto 跳出循环
End If
Rem 跳出循环
KeyPress "F5", 1
Delay 120000-(now-now1)*24*60*60
MoveTo 738, 127
LeftDown 1
now1 = now
Goto 循环
hi我,在线教你
啊哦