I would like to save found data from a pixel search in an array and have it output again, but I have no idea how to start.
That is basicly my current Search function:
object result = au3.PixelSearch(77, 270, 190, 298, 0x29343F, 5);
if (result.ToString() != "1")
{
object[] resultCoord = (object[])result;
au3.MouseClick("LEFT", (int)resultCoord[0], (int)resultCoord[1], 1, 5);
}
And the reason for the array is, that i want to expand it.
Example: After Pixel found, mouse is already moved and clicked once, then it should save the coordinates in a array and if the pixel is not longer visible, then it should expand the function and click again at the same coordinates. Its for me not necessary that the coordinates get saved by mouseclick, it can also saved by the if statement
if (result.ToString() != "1")
How is this possible?
au3.PixelSearchreally return? Probably something better than "object"