Hi I'm new in programming and when I try to wait colour to continue the action, I get this error.
Variable used without being declared.:
$waitpixel=PixelSearch (673,154,842,302, $WaitPixelColor,0xF8F4F8)
$waitpixel=PixelSearch (673,154,842,302, ^ ERROR
And That's my code. Anyone knows why getting error ?
While 1
$waitpixel=PixelSearch (673,154,842,302, $WaitPixelColor,0xF8F4F8)
If Not @error Then ExitLoop
Sleep(10)
WEnd