please help me understand why my script refuses to work...
i'm waiting for a certain color to appear on a screen but the script seems to "freeze" within an endless loop while I'm sure the color appears on a screen in that position
Label>kupit1
GetPixelColor>929,292,kup
If>kup=708739,next1,kupit1
Label>next1
Message>!!!!!!!!!
GetPixelColor trouble
Moderators: Dorian (MJT support), JRL
Re: GetPixelColor trouble
If you put a message in the loop that displays the color that GetPixelColor> is finding at position 929,292 you might get an indication of what is happening.
Code: Select all
Label>kupit1
GetPixelColor>929,292,kup
Message>kup
If>kup=708739,next1,kupit1
Label>next1
MessageModal>Found it = %kup%