I have the following code (and that's all the code, really):
Code: Select all
WaitPixelColor (x, y, color, limit:=20)
{
loop %limit%
{
Sleep, 500
PixelGetColor, Color, %x%, %y%
if (Color = %color%) {
Return true
}
}
Return false
}
Thanks in advance!
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)