Jump to content

Retrieve the URL of a link


Recommended Posts

Hello,

Is it possible to retreive the full url of a link?

I have a link on webpage in IE called "UK Premium Server" Instead of just clicking that link with _IELinkClickByText can i get the URL? TO then be used later with InetGet?

Not sure if its possible did alot of searching.

thanks

Steve

They call me MrRegExpMan

Link to comment
Share on other sites

  • Moderators

_IELinkGetCollection

Loop through those ^ (look at the autoit help file for an example), and use ($oLink.outerText or _IEPropertGet($oLink, "outertext") ), when you have your "UK Premium Server" match, then $oLink.href will give your URL .

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

http://msdn.microsoft.com/en-us/library/ms533050%28VS.85%29.aspx

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...