Sign in to follow this  
Followers 0
Steveiwonder

Retrieve the URL of a link

6 posts in this topic

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



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


[center]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.[/center]

Share this post


Link to post
Share on other sites

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

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

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


[center]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.[/center]

Share this post


Link to post
Share on other sites

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  
Followers 0