我想讓精靈可以判斷視窗內是不是與我截圖下來的圖片檔吻合
吻合則可以繼續往後執行後面的指令
不吻合則程式不動
FindPic 0,0,1920,1080,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 400
LeftClick 1
Delay 400
End If
FindPic 0,0,1920,1080,"Attachment:\12.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 400
LeftClick 1
Delay 400
End If
Delay 1000
FindPic 0,0,1920,1080,"Attachment:\13.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 400
LeftClick 1
Delay 400
End If
Delay 1000
FindPic 0,0,1920,1080,"Attachment:\14.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 300
LeftClick 1
Delay 300
End If
MoveTo 759, 897
Delay 5000
這是目前的程式碼
我想在最前面增加一個圖片
讓他判定是不是整個視窗內是不是有符合的圖片
Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.