The X coordinate of the left edge of the rectangle.
The Y coordinate of the top edge of the rectangle.
The X coordinate of the right edge of the rectangle.
The Y coordinate of the bottom edge of the rectangle.
The color to search for, in 0xRRGGBB
format.
The allowed variation in color shades (default is 0).
The step value for the search (default is 1).
An IPoint
object with the coordinates of the found pixel. If the pixel is not found,
returns a point with coordinates (-1, -1).
Searchs for a given pixel within the specified region.
The actual
AU3_PixelSearch
function from AutoIt appears to be broken so it has been reimplemented here using Windows GDI32 and User32 libraries.