Jump to content
Sign in to follow this  
Steveiwonder

Retrieve the URL of a link

Recommended Posts

Steveiwonder

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

Share this post


Link to post
Share on other sites
SmOke_N

_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.

Share this post


Link to post
Share on other sites
Steveiwonder

thanks man, works like a dream. Where can i find a list of things avilable such as "outerText" or "href". Not see it anywhere.


They call me MrRegExpMan

Share this post


Link to post
Share on other sites
Steveiwonder

Anyone able to tell me where i can get the list of things available like .outerText or .href etc etc.


They call me MrRegExpMan

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
Steveiwonder

awsome, thanks both :D MS MSDN FTW


They call me MrRegExpMan

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.