blah Posted December 1, 2009 Share Posted December 1, 2009 (edited) so yet again i need help how do i loop it ive got MouseClick("left", 670,512) Sleep(1500) MouseClick("left", 1066,203) Sleep(360000) then after the 6mins i need to loop it back up top as u can tell i know crap all Edited December 1, 2009 by blah Link to comment Share on other sites More sharing options...
bo8ster Posted December 1, 2009 Share Posted December 1, 2009 lo, look at While in the help file. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
blah Posted December 1, 2009 Author Share Posted December 1, 2009 (edited) i cant find it at all i hate the stupid help files and reading is to hard Edited December 1, 2009 by blah Link to comment Share on other sites More sharing options...
bo8ster Posted December 1, 2009 Share Posted December 1, 2009 i cant find it at all i hate the stupid help filesand reading is to hardWell the help file is what is going to give you the information so I suggest you get to like reading. Look for While on the index tab. For what you want it is quite simple, the example given gives you just about everything you need. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
blah Posted December 1, 2009 Author Share Posted December 1, 2009 so wat i just add $i = 0 While $i <= 10 MsgBox(0, "Value of $i is:", $i) $i = $i + 1 WEnd underneath or wat Link to comment Share on other sites More sharing options...
bo8ster Posted December 1, 2009 Share Posted December 1, 2009 (edited) Will loop 10 times. I just put what you posted inside the loop you copied for the help file. Local $i = 0 While $i <= 10 MouseClick("left", 670, 512) Sleep(1500) MouseClick("left", 1066, 203) Sleep(360000) $i = $i + 1 WEnd While True will loop forever. Edited December 1, 2009 by bo8ster Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
blah Posted December 1, 2009 Author Share Posted December 1, 2009 thank u so much Link to comment Share on other sites More sharing options...
bo8ster Posted December 1, 2009 Share Posted December 1, 2009 nps, remember most of your solutions are in the help file - make it your friend Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
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