Orgins Posted October 26, 2006 Posted October 26, 2006 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.
Moderators SmOke_N Posted October 26, 2006 Moderators Posted October 26, 2006 $StartingCheckSum = PixelCheckSum(etc...) While PixelCheckSum(etc...) = $StartingCheckSum ;Do stuff WEnd Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Orgins Posted October 26, 2006 Author Posted October 26, 2006 (edited) 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 October 26, 2006 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast.
Orgins Posted October 26, 2006 Author Posted October 26, 2006 I think its working. But how do I add the extra lines of code I want it to do if pixelchecksum changes? I'm a newbie.Sorry if I don't reposed to your replays very fast.
Rad Posted October 26, 2006 Posted October 26, 2006 (edited) 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,¨º·(uç^±Êâmë"µ«¢+ØÀÌØíA¥á± ½±½ÉôA¥á± ¡MÕ´¡Ñ¸¸¸¤()¼(ÀÌØíA¥á± ½±½ÉôA¥á± ¡MÕ´¡Ñ¸¸¸¤(M±ÁìÄÁôíIÕÌ ATÕͰ½ÍÑ¥±°Ý¥±°Éո͵½½Ñ¡±ä)U¹Ñ¥°ÀÌØíA¥á± ½±½É±ÐìÐìÀÌØíA¥á± ½±½É()5½ÕÍ ±¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°ÄÔ°ØÀаȤ)M±À ÀÌØíM¡½ÉÑM±À¤)M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì Edited October 26, 2006 by Rad
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now