Disturbed Posted April 15, 2009 Share Posted April 15, 2009 I've made a small change to big_daddy's code (adding a String function). Give it a try and see if it doesn't work for you... Dale #include <IE.au3> $sURL = "somewhere.com" $sSearch = "Text Link" $oIE = _IECreate($sURL) $oFrame = _IEFrameGetObjByName($oIE, "options") $oDivs = _IETagNameGetCollection($oFrame, "DIV") For $oDiv In $oDivs If String(_IEPropertyGet($oDiv, "InnerText")) = $sSearch Then _IEAction($oDiv, "click") _IELoadWait($oIE) ExitLoop EndIf Next Hi, I have similar problem where i have to click on a text "Download Now" but it shows error in the string part.. what might be my mistake 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