close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
按鍵精靈 判斷圖片!
Jan 28th 2015, 16:27

我想讓精靈可以判斷視窗內是不是與我截圖下來的圖片檔吻合
吻合則可以繼續往後執行後面的指令
不吻合則程式不動

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.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 nbv272smrgp2u 的頭像
    nbv272smrgp2u

    進擊的巨人14, 進擊的巨人線上看, 進擊的巨人漫畫, 進擊的巨人遊戲, 進擊的巨人 動畫, 進擊的巨人 線上漫畫, 進擊的巨人14線上看, 進擊的巨人13, 進擊的巨人 h, 進擊的巨人op

    nbv272smrgp2u 發表在 痞客邦 留言(0) 人氣()