Jump to content

Loop isnt working for me? First post :)


imahero
 Share

Recommended Posts

#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 by imahero
Link to comment
Share on other sites

  • Developers

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

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

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...