imahero Posted October 28, 2016 Share Posted October 28, 2016 #include <IE.au3> Local $oIE = _IECreate("google.com") Sleep(0) _IENavigate($oIE, "google.com") _IENavigate($oIE, "google.com") Link to comment Share on other sites More sharing options...
Jfish Posted October 28, 2016 Share Posted October 28, 2016 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? imahero 1 Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
imahero Posted October 28, 2016 Author Share Posted October 28, 2016 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? Link to comment Share on other sites More sharing options...
Jfish Posted October 28, 2016 Share Posted October 28, 2016 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? Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
imahero Posted October 28, 2016 Author Share Posted October 28, 2016 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 Link to comment Share on other sites More sharing options...
imahero Posted October 28, 2016 Author Share Posted October 28, 2016 (edited) When i do this ; -snip- Nothing happens When i do this ; -snip- I get IE windows opening like crazy. Im lost Edited October 28, 2016 by Jos Link to comment Share on other sites More sharing options...
Jfish Posted October 28, 2016 Share Posted October 28, 2016 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. imahero 1 Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
Developers Jos Posted October 28, 2016 Developers Share Posted October 28, 2016 @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. See you soon with a legitimate question I hope. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts