Jump to content
Sign in to follow this  
Loken

Wait for the Pixel Color

Recommended Posts

Loken

Hi evereyone

I was searched the forum but i can't find a utility command for my Script.I'd like to a wait command until find a pixel color.

This is my Script.I'd like to use wait command after If isarray($waitpixel)=False Then bluh bluh

$BoxColour=0x8E837F 
$WaitPixelColor=0xFEFEFE 
$Box = PixelSearch (80,65,1382,754, $BoxColour,8,4)
If IsArray($Box)=True Then
MouseClick("left",$Box[0], $Box[1], 1,5)
If isarray($Box)=True Then
$waitpixel=PixelSearch (655,405,695,460, $WaitPixelColor,8,4)
If isarray($waitpixel)=False Then
    ; What is the Wait/Sleep until find pixel color($waitPixelColor) command/s?

mates i'm sorry for my bad English.Thanks to all thinking mates.

Share this post


Link to post
Share on other sites
Loken

Thanks both commands are workinig.I more like autoıt then other programs.

:x:P:shifty:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.