當前位置:編程學習大全網 - 網站源碼 - 按鍵精靈時間怎樣控制~~計時器

按鍵精靈時間怎樣控制~~計時器

先說思路,每次找到圖片後做壹下判斷,是否超過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 循環

  • 上一篇:夫子廟古南都按摩店怎麽樣
  • 下一篇:壹輛汽車快被偷了。怎麽才能找回來?
  • copyright 2024編程學習大全網