imahero

Loop isnt working for me? First post :)

2 posts in this topic

#1 ·  Posted (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 by imahero

Share this post


Link to post
Share on other sites



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

1 person likes this

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.