得到指定点颜色---- GetPixelColor
找色命令:
区域找色-------- FindColor
GetColor = GetPixelColor(10, 5)
TracePrint GetColor
FindColor 0, 0, 336, 10, "B2DCEE", intX, intY //在区域找到颜色值
If intX > 0 and intY > 0 Then
MoveTo intX,intY //如果找到就把鼠标移动到那里
End If
模糊找色 ---------- FindColorEx
中心找色 ------ FindCenterColor
-----E:\1.bmp
FindPic 947, 1, 987, 24, "E:\1.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
MoveTo intX, intY
LeftClick 1
End If