Sign in to follow this  
Followers 0
cabbage-programer

having trouble with...

4 posts in this topic

#1 ·  Posted (edited)

hey i am new to autoit and i am having trouble trying to find the "loop" command, well thats if there is one?

i would like to know if there is a "loop" command so i can put it at the end of my script and it just runs through everything in my script again, so i dont have to write the same things out heaps of times and muck it up.

is there such a command in autoit??

o yeah i am running: autoit v3 if that helps you in anyway?

thanks guys in advanced because i am sure there is a command or something i could do to make it do this but yeah if there is anything like "loop" or it is "loop" please help me out because i have been looking for days with no luck. (i must be real brainless or there is no such way to do this?)

Edited by cabbage-programer

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

There are many kinds of loops.

While Loop

$expression_is_true = true
while($expression_is_true)
;do code here
wend
oÝ÷ Ù±h¬º(§öÚºÚ"µÍÜ   ÌÍÚHHHÈLÙÐÞ
    ][ÝÓ^HÛÜ    ][ÝË  ][ÝÒ]][Û ][ÝÈ  [È ÌÍÚJB^oÝ÷ Ù°èR{böÚºÚ"µÍÌÍÚHHÂÌÍÚJÏLBÙÐÞ
    ][ÝÓ^HÛÜ    ][ÝË  ][ÝÒ]][Û ][ÝÈ  [È ÌÍÚJB[[
    ÌÍÚHOHL
B

also, you might want to check out, "Welcome to AutoIt 1-2-3".

http://www.autoitscript.com/forum/index.php?showtopic=21048

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

check the autoit help file, you should find something about 'loops'

Share this post


Link to post
Share on other sites

Thanks for the help and for giving me the help so fast . I went to that link you gave me and it was very helpful and i have already downloaded a few files to help me out and im sure they will.

ps. i used one of those looping codes and now my program loops so anyone else who was going to reply you dont have to because i found the right code and i am happy now :-)

thanks once again

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