Jump to content
Sign in to follow this  

_IEImgGetCollection - HELP

Recommended Posts

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

If $ImmaginePresente = True Then
Else MouseClick(.....)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...