Jump to content

PixelChecksum in a do-until loop?


Orgins
 Share

Recommended Posts

I want a pixelchecksum in a do until loop but When the pixelchecksum changes I want it to end the loop and do 3 or 4 lines of code(or run a script with them lines then contune were the first script (After the do until)). How would I do that?

I know how to do a pixelchecksum in a While/WEnd and how to do a do/untill but I can't get them working together.

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Link to comment
Share on other sites

That might help me I’ll have to play around with it. I wanted to explain what I want a bit more.

$i = 0                    
Do                      
   $i = $i + 1                  
      Sleep($ShortSleep)             
      MouseClick("left", 15,  604, 2)   >---I just want to added a pixelchecksum if the pixel 
        Sleep($ShortSleep)         changes then end loop and do 3 or 4 lines of code
        Send ("{ENTER}")           If it doesnt jsut do the loop into $i = 13
    until $i = 13
Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Link to comment
Share on other sites

The way your Do...Unil is setup you might as well use For...to...Next

For $i = 0 to 13                   
      Sleep($ShortSleep)            
      MouseClick("left", 15,  604, 2)   ;>---I just want to added a pixelchecksum if the pixel
        Sleep($ShortSleep)           ;changes then end loop and do 3 or 4 lines of code
        Send ("{ENTER}")           ;If it doesnt jsut do the loop into $i = 13
    NextoÝ÷ Ø­¶°k,¨º·(^±Êâmë"µ«­¢+ØÀÌØíA¥á±
½±½ÉôA¥á±
¡­MÕ´¡Ñ¸¸¸¤()¼(ÀÌØíA¥á±
½±½ÉôA¥á±
¡­MÕ´¡Ñ¸¸¸¤(M±ÁìÄÁôíIÕÌ
ATÕÍ°½ÍÑ¥±°Ý¥±°Éո͵½½Ñ¡±ä)U¹Ñ¥°ÀÌØíA¥á±
½±½É±ÐìÐìÀÌØíA¥á±
½±½É()5½ÕÍ
±¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°ÄÔ°ØÀаȤ)M±À ÀÌØíM¡½ÉÑM±À¤)M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì
Edited by Rad
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...