czmaster Posted March 19, 2012 Share Posted March 19, 2012 (edited) Hello,If I copy a link on a web page (i.e. : autoit) the ClipGet function return the text of this link (autoit) bur not the url (http://www.autoitscript.com/forum).Is it a way to get this link ?MS Word do it, when you paste a link from a web page, it show it as a link (autoit and not autoit as text).Thank you Edited March 19, 2012 by czmaster Link to comment Share on other sites More sharing options...
computergroove Posted March 19, 2012 Share Posted March 19, 2012 I didnt see anything in the Autoit Functions list for this so I will propose something. Firefox: You could have autoit open the link in a new window. Send CTRL + L to highlight the address bars URL Send CTRL + C to copy Then Close the new window (ALT + F and the 'X') Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
somdcomputerguy Posted March 19, 2012 Share Posted March 19, 2012 I guess it depends on how you get it. If I right-click on that link, my browser (Firefox) will give me the option to 'Copy Link Location'. Then ClipGet() will have the anchor data instead of the text data. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
czmaster Posted March 20, 2012 Author Share Posted March 20, 2012 (edited) @computergrooveI don't want to copy the adress bar link but a link in the web page@somdcomputerguyI know the option to 'Copy Link Location' and I use it often, but this time I want to get the link location of many links with just one copy,Thanks anyway.It is probably impossible with autoit. I will copy the source code and get the links with the string functions Edited March 20, 2012 by czmaster Link to comment Share on other sites More sharing options...
somdcomputerguy Posted March 20, 2012 Share Posted March 20, 2012 This function, _IELinkGetCollection, may prove useful to you. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
computergroove Posted April 3, 2012 Share Posted April 3, 2012 @computergrooveI don't want to copy the adress bar link but a link in the web pageI said have the link open in another window ie right click the link and open in new window first. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now