Sign in to follow this  
Followers 0
BluhBlah

Do..Until how do i put it in in this script?

4 posts in this topic

While 1 ;Main loop
    Do
        $color = PixelGetColor(1, 1) ;Waits for (1, 1) to be 0xFF0000
    Until $color = OxFF0000
Sleep(300000) ;Sleeps for 300000ms when $color = 0xFF0000
If PixelGetColor(1, 1) = 0xFF0000 Then Send ("X") ;After the sleep it checks to see if (1, 1) is 0xFF0000. If it is it sends X and if it isn't it waits for $color to = 0xFF0000
WEnd

test

Share this post


Link to post
Share on other sites



Please do not double post.


The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites

Please do not double post.

There have been so many double posts recently that I'm inclined to think that is it has more to do with the forum's response time (and the OP's impatience) than the intent to make two identical posts.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Yes it was a mistake and..i guess i was impatience

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  
Followers 0