Sign in to follow this  
Followers 0
NaughtyNaughty

Making An Action Run Continually

8 posts in this topic

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

Share this post


Link to post
Share on other sites



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 *

Share this post


Link to post
Share on other sites

Hint...

$IMustReadTheHelpFile = 1

While $IMustReadTheHelpFile
    
    Msgbox(0,"Oops","I must read the help file")
    Sleep (1000)
    
WEnd
:whistle:

Share this post


Link to post
Share on other sites

HAHAHAHAHAHAHAHAHA :):whistle:


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :whistle:

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