imahero

How do i loop this?

8 posts in this topic

#include <IE.au3>
 
Local $oIE = _IECreate("google.com")
Sleep(0)
_IENavigate($oIE, "google.com")
 
_IENavigate($oIE, "google.com")
 

Share this post


Link to post
Share on other sites



Hello and welcome to the forum.  There are many different types of loops.  Check the help file under "Loop Statements" to see your options.  Your choice will depend on whether or not you are trying to do it a set number of times or until a condition is satisfied.  Maybe a description of what you are trying to do?

1 person likes this

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites
15 minutes ago, Jfish said:

Hello and welcome to the forum.  There are many different types of loops.  Check the help file under "Loop Statements" to see your options.  Your choice will depend on whether or not you are trying to do it a set number of times or until a condition is satisfied.  Maybe a description of what you are trying to do?

Can you show me an example for this one? 

Share this post


Link to post
Share on other sites
1 minute ago, Jfish said:

The help file is filled with examples.  Can you please go to the section I mentioned, see if you can run the sample code, and reply with any specific questions?

Ive already went through that m8, i tried the while and w end and end fuction, i couldnt get it to work so im here for help  

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

When i do this ;

-snip-


Nothing happens

 

When i do this ;

-snip-

 

I get IE windows opening like crazy. Im lost

Edited by Jos

Share this post


Link to post
Share on other sites

Automating games is against the forum rules so I won't be able to assist you with that.  If you want general help with loops try running the samples provided in the help file.

1 person likes this

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites

@imahero,

Welcome to the AutoIt forum. :)

Unfortunately you appear to have missed the Forum rules on your way in. (there is also a link link in my signature) 
Please read them now particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. :naughty:

See you soon with a legitimate question I hope. :)

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.