Hei guys,
i want to write a script, that looks for a specific pixel.
if the pixel is found, it should look for another pixel, in the area around the first one.
my problem is:
the array returns a "x" and "y" coordinate, which is a specific point on the screen. i thougt i could take the coordinates and do like "x" -50 = $newx
"y" -50 = $newy
"x" +50 = $new2x
"y" +50 = $new2y
and then PixelSearch($newx, $newy, $new2x, $new2y, 2)
( this is an area around the first pixel found.)
this is not possible for me, i cant figure out how to calculate with the first pixelcoordinates, in order to get an area around the first pixel.
I hope it is clear enough and anyone can help me.
If theres a better way to search for a pixel in an area around another pixel, let me know :P
grettings.






