evilelf Posted September 14, 2006 Posted September 14, 2006 (edited) How would i get this to Repeat? send("Enter") Send("") ;Add what u like this to say. First Msg. Send("Enter") Sleep(10000) send("Enter") Send("") ;Add what u like this to say. Second Msg. Edited September 14, 2006 by evilelf
Moderators SmOke_N Posted September 14, 2006 Moderators Posted September 14, 2006 Lol i know this is Dumn But how would i make the Scrip Repeat?Loop?Loops:While/WEndDo/UntilFor/Next 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.
evilelf Posted September 14, 2006 Author Posted September 14, 2006 Sorry.. Not Loop. How would i get it to repeat.
Moderators SmOke_N Posted September 14, 2006 Moderators Posted September 14, 2006 Sorry.. Not Loop.How would i get it to repeat.What part of loop and repeat are you not understanding? 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.
cppman Posted September 14, 2006 Posted September 14, 2006 (edited) lol... for $i = 1 to 10; repeat 10 times. send("Enter") Send("") ;Add what u like this to say. First Msg. Send("Enter") Sleep(10000) send("Enter") Send("") ;Add what u like this to say. Second Msg. next Edited September 14, 2006 by CHRIS95219 Miva OS Project
Moderators SmOke_N Posted September 14, 2006 Moderators Posted September 14, 2006 lol... for $i = 1 to 10; repeat 10 times. send("Enter") Send("") ;Add what u like this to say. First Msg. Send("Enter") Sleep(10000) send("Enter") Send("") ;Add what u like this to say. Second Msg. nextThat taught him alot...! 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.
evilelf Posted September 15, 2006 Author Posted September 15, 2006 (edited) I am glad u showed me this but not cuz u gave it away. BUt Smoke N Helped but i did not knwo were to add this or what that was. With Smoke N i would have added more like this. While/WEnd Do/Until For/Next ; Send("{ENTER}") Send("") ;Add what u like this to say. First Msg. Send("{ENTER}") Sleep(10000) Send("{ENTER}") Send("") ;Add what u like this to say. Second Msg. Send("{ENTER}") While/WEnd Do/Until For/Next But thankYou Smoke N. Edited September 15, 2006 by evilelf
cppman Posted September 15, 2006 Posted September 15, 2006 people learn from example. After someone sees how a loop is used, they remember that next time they need to use one . Miva OS Project
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