按键精灵的找图找色命令
导读:一、得到指定点颜色(GetPixelColor)1234GetColor=GetPixelColor(8,26 If GetColor = "3936FF" Then MoveTo 8, 26End If二、区域找色12345FindColor 0,0,1440,900,"3936...
一、得到指定点颜色(GetPixelColor)
1 2 3 4 | GetColor=GetPixelColor(8,26)If GetColor = "3936FF" Then MoveTo 8, 26End If |
二、区域找色
1 2 3 4 5 | FindColor 0,0,1440,900,"3936FF",intX,intYIf intX >= 0 and intY >= 0 Then MessageBox "找到" TracePrint intX&","&intYEnd If |
三、模糊找色
1 2 3 4 5 | FindColorEx 0,0,100,100,"3936FF",0,0.9,intX,intYIf intX >= 0 and intY >= 0 Then MessageBox "找到" TracePrint intX&","&intYEnd If |
四、中心找色
1 2 3 4 5 | FindCenterColor 0,0,100,100,"3936FF",intX,intYIf intX >= 0 and intY >= 0 Then MessageBox "找到" TracePrint intX&","&intYEnd If |
五、区域找图
1 2 3 4 5 6 7 | FindPic 4, 316, 84, 412, "attachment:\回收站.bmp", 0.9, intX, intYIf intX >= 0 and intY >= 0 Then MessageBox "找到" MoveTo intX, intY LeftDoubleClick 1 TracePrint intX & "," & intY End If |
信义之树版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!