do you have the ImageSearch.au3? And the ImageSearchDLL.dll? If no then get them.
The rest ist easy.
You need to set a variable.
PHP Code:
#include<ImageSearch.au3> //includes the .au3
$x1=0 //the coordinates from the found picture
$y1=0 //we set the variables as Numbers
$variable=_ImageSearch("Picname", 1, $x1, $y1, 0)
If $variable=1 then
MouseClick("left", $x1, $y1) //clicks on the found pic
Else
blabla
Endif
//at "Picname" need to be the pic that you search for
//the number 1 after that means that he klicks in the middle of the pic
//for 0 its the upper left corner?
// $x1 adn $y1 are the coordinates of the found pic
// the 0 at the end is for the pixels he can differ from the mid/corner
and if you wanna search in an area use this:
PHP Code:
#include<ImageSearch.au3>
$x1=0
$y1=0
$var=_ImageSearchArea("picname", 1, l, u, r, d, $x1, $y1, 0)
//l= left side of the area
//u=upper side of the area
//r=right site of the area
//d=down side of the area