代码如下:
说明:50,50代码要找的点x和y坐标,000000代表16进制颜色值
hwnd = Plugin.Window.MousePoint()ys = Plugin.Bkgnd.GetPixelColor(hwnd, 50, 50)If ys = "000000" Then MsgBox "找到颜色了"End If