Sign in to follow this  
Followers 0
evilelf

Need helps""

8 posts in this topic

#1 ·  Posted (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 by evilelf

Share this post


Link to post
Share on other sites



Lol i know this is Dumn But how would i make the Scrip Repeat?

Loop?

Loops:

While/WEnd

Do/Until

For/Next


[center]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.[/center]

Share this post


Link to post
Share on other sites

Sorry.. Not Loop.

How would i get it to repeat.


Share this post


Link to post
Share on other sites

Sorry.. Not Loop.

How would i get it to repeat.

What part of loop and repeat are you not understanding?

[center]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.[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by CHRIS95219

Share this post


Link to post
Share on other sites

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
That taught him alot...!

[center]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.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by evilelf

Share this post


Link to post
Share on other sites

people learn from example. After someone sees how a loop is used, they remember that next time they need to use one :).

Share this post


Link to post
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
Sign in to follow this  
Followers 0