The AutoIt PixelChecksum Function generates a checksum for a region of pixels on the screen. It can also be used to scan for small "images" on the screen, read the Tutorial (coming soon) to learn how to do just that.
The checksum to be generated from the region can either be set to ADLER or CRC32.
|pixels||Left coordinate of rectangle.|
|pixels||Top coordinate of rectangle.|
|pixels||Right coordinate of rectangle.|
|pixels||Bottom coordinate of rectangle.|
|step||Optional A value larger than 1 will pixels (for speed). I.e. A value of 2 will only checksum every other pixel.|
|hwnd||Optional Window handle to be used.|
|mode||Optional Default 0 ADLER checksum, 1 CRC32 Checksum.|
AutoIt PixelChecksum Example
$checksum = PixelChecksum(0,0, 50,50) While $checksum = PixelChecksum(0,0, 50, 50) Sleep(100) WEnd MsgBox(0, "", "A change in the region was detected!")