$coord = PixelSearch( 464,306, 468, 306, 0xFFFFFF ) ; Checks for a white pixel in these coord
If Not @error Then
MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
elseif @error
MsgBox(0, "Error found!", "Nothing white here")
Endif
And I can't understand the error I get (probably when it doesn't find a white pixel):
Subscript used with non-Array variable.:
Mousemove($coord[0],$coord[1])
Mousemove($coord^ ERROR
>Exit code: 1 Time: 4.819
Am I making a mistake in [left, top, right, bottom] syntax?Or is it something else?
Thanks in advance