imahero Posted October 30, 2016 Share Posted October 30, 2016 (edited) #include <IE.au3> Local $oIE = _IECreate("youtube.com") while 1 _IENavigate($oIE, "google.com/imghp") Sleep(100) _IENavigate($oIE, "https://www.google.com/imghp") WEnd ;~ HotKeySet("{F1}","test") HotKeySet("{F2}","test2") ;~ while 1 ;~ Sleep(110) ;~ WEnd ;~ func test() ;~ While 1 ;~ MouseClick("left") ;~ MouseClick("left") ;~ WEnd ;~ EndFunc func test2() exit EndFunc Hey guys, im just learning how to code in autoit. I'm having a little problem that i cant get this to loop, anyone know whats the issue? Will be very grateful for knowledge Edited October 30, 2016 by imahero Link to comment Share on other sites More sharing options...
Developers Jos Posted October 30, 2016 Developers Share Posted October 30, 2016 Seems you have missed a part of the forum rules not opening a new thread related to the closed one. So, last chance tp read the forumrules and sticking to them! Jos 232showtime 1 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