VeeDub Posted September 14, 2012 Share Posted September 14, 2012 Hello,I'm trying to click on the first 'Go' image on this site http://www.privateschoolsdirectory.com.auThe code that I'm using is:If ProcessExists("iexplore.exe") Then $oIE = _IEAttach("The Private Schools Directory") $Status = _IEImgClick($oIE,"images/goBtn.gif","src") If $Status <> -1 Then MsgBox(0,"Error - Go",@error) EndIf EndIfThe _IEImgClick fails with--> IE.au3 V2.4-0 Warning from function _IEImgClick, $_IEStatus_NoMatchI know that the image source is correct.I'm wondering if the issue is that there is more than one 'Go' image on the page. I've tried using different indexes: 0, 1, 2 but that hasn't made any difference.Suggestions on how to troubleshoot would be appreciated 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