Link to home
Start Free TrialLog in
Avatar of Informative
InformativeFlag for United States of America

asked on

Need way to capture address of site with windows copy/cut/clips

There is a program named keynote which is freeware and does this using the source language Delphi which I neither have nor wish to learn.  This freeware is what prompts my question.

Can anyone use any of the more user current languages (friendlier for me since I have them) to create such a functionality using either VB/C++ or .Net (VB or C#) asp.net or any pf the more current Microsoft launguages (which I have) or even using javascript or a web-friendly languages to accomplish this goal?

I just like the ability of this freeware to clipboard capture but do not like the way in which it does it.  Tends to tunnel the tree deeper where unrelated nodes wind up nested inside other unreleated nodes.

The result would simply be some way to return not just the copied text from the clipboard which I can easily already do in VB but to also decipher and extrapolate the Internet Explorer Address bar web "Address" and store that as well.  This is the challenge!
Avatar of armoghan
armoghan
Flag of Pakistan image

In ASPX if you want it can be done, from some some java Script from client side, or I think you also can get the URL from request object. Not sure, not worked much on ASPX.
See my other post in the other post here
https://www.experts-exchange.com/questions/21172867/500-pts-total-cross-posting-cut-clip-capture-web-address.html
Avatar of Informative

ASKER

Other thread had good suggestion to store clipboard data then use sendkeys ctrl-tab to focus address bar then ctrl-C to copy the address to clipboard itself.  Problem there is how to make certain the iexplorer.exe has the focus and if not how to get handle of the current browser window and focus it before ctrl-tabing.  I'll work with that a bit.  Obviously sendkeys is not the ideal solution.

The better solutions would likely include using a DLL call to grab some windows system objects from one of the various iexplorer.exe handles I was thinking.

A search on adding your own toolbars to explorer (most are for custom seraches like the yahoo toolbar type bars) also gives a ton of links to stuff which is beyond my web coding level, but certainly includes many ways to add hooks to iExplorer to get into the handles and behind it.  Anyone know how to add a toolbar which might do this even?  
One good possible answer appears to have been posted here.

https://www.experts-exchange.com/questions/21172871/500-pts-total-cross-posting-question-no-takers-yet.html

if it works as advertised should get credit.
Assuming this works as advertised, Points will be awarded here and there >
https://www.experts-exchange.com/questions/21172808/Need-way-to-capture-address-of-site-with-windows-copy-cut-clips.html
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial