mcfmullen Posted April 8, 2012 Posted April 8, 2012 Hello,I'm trying to get a loop going on the facebook page url: https://www.facebook.com/?ref=hp#!/search/results.php?q=br%20&type=pages&init=quick&tas=0.8033966767710268I want to click on the See More Results button at the bottom of the page. I want to loop through the page, clicking on the See More Results button until the button no longer appears.Thing is I've tried virtually every function there is and I can't get Auto It to click the button. This is where I stand right now:Local $sMyString = "See More Results" Local $oLinks = _IELinkGetCollection($oIE) For $oLink In $oLinks Local $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $sMyString) Then _IEAction($oLink, "click") ExitLoop EndIf Next ExitI've tried _IELinkClickByText, _IEClickObjById and _IEClickObjByName all without success... I've even tried without a loop just to get it to click on the link once and still no success.Can anyone help me with this?
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