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 循環