Jump to content
Sign in to follow this  
klatuu

Got a link?

Recommended Posts

klatuu

Hi developers,

I'm stymied with this one, maybe I've been banging my head to long and the pain is blurring my eyes.

I'm trying to click the link at the bottom of this page http://www.formspring.me/Formspring which reads "More responses from Formspring"

The code inside looks like:

<div id="questions_answered_more_link">
                        <a id="moreLink2" class="moreLink" href="http://www.formspring.me/Formspring#!start=292364924225594645"
                           rel="more" state="questions_answered" username="Formspring"
                           total="6959"><span
                                rel="more">More responses from Formspring</span></a>
                        <img id="moreIndicator" src="images/indicator.gif" alt="." style="display:none; float:right;"/>
                    </div>

I've tried using variations of this (moreLink, moreLink2, More, more):

Local $sMyString = "More"
Local $oLinks = _IELinkGetCollection($oIE)
For $oLink In $oLinks
    Local $sLinkText = _IEPropertyGet($oLink, "innerText")
    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
        ExitLoop
    EndIf
Next

and wanted to use _IEimageGetLink, but the image is not unique.

Does anyone know how I can get to this link? My eyes are getting blurry.

Thanks

Share this post


Link to post
Share on other sites
klatuu

Works like a champ!

Thanks qsek!

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  

×