The ImageSearch UDF .
It finds specific images in your visible screen.
Here an example with some explanations.
Code:
#include <ImageSearch.au3>
$x = 0
$y = 0
$image = "something.bmp" ;I tested only with .bmp & .PNG
$imSea= _ImageSearch($image,1,$x,$y,0) ;First = Image name - Second = 0 for top left coords, 1 for Center coords - Variable name for x coord - Variable name for y coord - tolerance
If $imSea = 1 Then
MouseClick("left",$x,$y,1)
MsgBox (0,"","Found at " & $x & " " & $y)
EndIf
Hope I helped you , greets
kimboy600.