NaughtyNaughty Posted February 8, 2007 Share Posted February 8, 2007 How can I make an action run continually? At the most I just keep pasting the same line of code like a 1000 times so it run the action a 1000 times. But I would like to learn how to loop so it's quicker and looks more professional. Thanks Link to comment Share on other sites More sharing options...
/dev/null Posted February 8, 2007 Share Posted February 8, 2007 see help file: Loop Statements __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Josbe Posted February 8, 2007 Share Posted February 8, 2007 Check about the loops in the AutoIt's docs with examples included. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
ChrisL Posted February 8, 2007 Share Posted February 8, 2007 Hint... $IMustReadTheHelpFile = 1 While $IMustReadTheHelpFile Msgbox(0,"Oops","I must read the help file") Sleep (1000) WEnd [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
NaughtyNaughty Posted February 8, 2007 Author Share Posted February 8, 2007 Hint... $IMustReadTheHelpFile = 1 While $IMustReadTheHelpFile Msgbox(0,"Oops","I must read the help file") Sleep (1000) WEnd Link to comment Share on other sites More sharing options...
Shevilie Posted February 8, 2007 Share Posted February 8, 2007 HAHAHAHAHAHAHAHAHA Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
evilelf Posted February 8, 2007 Share Posted February 8, 2007 (edited) For $i = 3 to 1 Step -1 MsgBox(0, "Count Test", $i) Next MsgBox(0,"", "Read ME about Loops and also For and Next ")oÝ÷ Øh¥ëaÈ^ Ö¢ëm+Ò$.Â¥vz-ëm+-£ +&²¹ªÞ§Ú,¥©Mìmjëh×6 for $i = 1 to 50; 50 repeats the Number of times sent. Change to how many spams. ; ;Add what u need it to do then after next add what u wish for it to do. Send("What ever u like") ; It would send this over and over but u have to add enter ; Next Edited February 8, 2007 by evilelf Link to comment Share on other sites More sharing options...
NaughtyNaughty Posted February 9, 2007 Author Share Posted February 9, 2007 For $i = 3 to 1 Step -1 MsgBox(0, "Count Test", $i) Next MsgBox(0,"", "Read ME about Loops and also For and Next ")oÝ÷ Øh¥ëaÈ^ Ö¢ëm+Ò$.Â¥vz-ëm+-£ +&²¹ªÞ§Ú,¥©Mìmjëh×6 for $i = 1 to 50; 50 repeats the Number of times sent. Change to how many spams. ; ;Add what u need it to do then after next add what u wish for it to do. Send("What ever u like") ; It would send this over and over but u have to add enter ; Next I have been using the While 1 whatever action here Wend and its been working pretty cool but mega thanks for that info 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