GiorgioDistribuzione88 Posted February 20, 2015 Share Posted February 20, 2015 Good Morning AutoIT Opens the website of IE , connect on the website and must check: If the image loading , which in this case is called " preload.gif " And Still Present Then wait ; Otherwise if " preload.gif " has finished loading Then MouseClick . As soon as I open the site and the image always present , AutoIT should intervene Only if the image of a stopped . I adopted this script , you know help me? ********************************************************************************* ***************************************************************#include <ie.au3> HotKeySet("{F1}", "Terminate") $oIE = _IECreate ("http://www.sitoacaso.it") WinSetState("[ACTIVE]", "", @SW_MAXIMIZE) $CercaImmagine = "preload.gif" $ImmaginePresente = False $oImgs = _IEImgGetCollection ($oIE) For $oImg In $oImgs If $oImg.src = $CercaImmagine Then $ImmaginePresente = True ExitLoop EndIf Next If $ImmaginePresente = True Then Sleep(500) Else MouseClick(.....) EndIf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now