#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