how to copy link url under current mouse position?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
james27
Posts: 8
Joined: 11 Mar 2016, 01:18

how to copy link url under current mouse position?

18 May 2019, 22:07

hello
i'm not sure is it possible with autohotkey.
i want to copy image link url in current mouse position.
i can't found anything related with this .
thanks if anyone can help me.
scriptor2016
Posts: 854
Joined: 21 Dec 2015, 02:34

Re: how to copy link url under current mouse position?

18 May 2019, 22:42

first, make sure the URL bar is not active (example- just click anywhere else in the browser other than the URL bar so it becomes deactivated)

then, hover the cursor ontop of the link in the URL bar and then press z


Code: Select all

z::
click
sleep, 75
sendinput ^c
sleep, 75
msgbox, The clipboard now contains %clipboard%
Return
james27
Posts: 8
Joined: 11 Mar 2016, 01:18

Re: how to copy link url under current mouse position?

19 May 2019, 05:36

hello
i tried but it not working.
thanks though
scriptor2016
Posts: 854
Joined: 21 Dec 2015, 02:34

Re: how to copy link url under current mouse position?

19 May 2019, 21:40

-what browser do you use
-what happens when you left-click once inside the URL bar
Johnny R
Posts: 348
Joined: 03 Oct 2013, 02:07

Re: how to copy link url under current mouse position?

20 May 2019, 02:18

For Firefox and Chrome look here and here. It would be nice to have something similar for Internet Explorer 11...
scriptor2016
Posts: 854
Joined: 21 Dec 2015, 02:34

Re: how to copy link url under current mouse position?

21 May 2019, 23:49

what you are looking for is absolutely possible.

When using Chrome, make sure that the URL bar is not active (i.e. make sure the text in the URL bar is *not* highlighted in blue)

next, you want to activate that URL bar by left clicking on it.


Now, when you left-click one time inside the URL bar, does the text in there become highlighted in blue?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Lamron750, Rohwedder and 314 guests