Hi,
For example, my PixelSearch gave 2 variables
$abc[0] = 100
$abc[1] = 10
Are you able to alter it's value entered in the array?
I tried to alter by
$abc = PixelSearch(438, 426, 889, 782, 0x0000FF, 5, 2)
If Not @error Then
$abc[0] = $abc[0] + 50 ; to get to 150
$abc[1] = $abc[1] -5 ; to get to 5
Endif
But it doesnt work, error appears
For example, my PixelSearch gave 2 variables
$abc[0] = 100
$abc[1] = 10
Are you able to alter it's value entered in the array?
I tried to alter by
$abc = PixelSearch(438, 426, 889, 782, 0x0000FF, 5, 2)
If Not @error Then
$abc[0] = $abc[0] + 50 ; to get to 150
$abc[1] = $abc[1] -5 ; to get to 5
Endif
But it doesnt work, error appears