Sign in to follow this  
Followers 0
johng80

click on url

4 posts in this topic

Is it possible to click on a link and copy its url to a variable that I can use later on in my script?

Example:

www.google.com

right click on “About Google” and copy that url to $oLink in my script?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It probably is possible. See if this helps, http://dundats.mvps.org/help/html/libfunctions/_IELinkGetCollection.htm

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

with _IELinkGetCollection I'm able to get the all links in the document,

but any tips how do I get the link under the mouse cursor?

Share this post


Link to post
Share on other sites

Maybe the MouseClick() or ControlClick() functions can be used here?


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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