Double click then copy text (need help)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
speer
Posts: 8
Joined: 27 Jul 2016, 02:01

Double click then copy text (need help)

21 Apr 2019, 18:22

I'd like the ability to press a key it double clicks then copies where my cursor is.

Example, if this URL is in the browser:

https www.amazon.ca /Introduction-School-Age-Care-Canada/dp/0131275917/ Broken Link for safety

And I wanted to copy: "0131275917" I would have to double click that portion of the URL then push ctrl + c. I want the ability to press a key such as "ctrl" and this app double clicks and copies automatically.

This will make my work SO much more easy. Can someone post the commands I would enter in to AHK to accomplish this?
zayntheboss
Posts: 15
Joined: 24 Feb 2019, 15:21

Re: Double click then copy text (need help)

21 Apr 2019, 19:28

Uses CTRL + q to do the desired action; Esc to close app!

Code: Select all

^q::
Click
Sleep, 20
Click
Send, ^c
return

Escape::
ExitApp
Ridwan
Posts: 144
Joined: 17 Oct 2015, 21:06
Location: Indonesia

Re: Double click then copy text (need help)

22 Apr 2019, 09:48

Shorter version.

Code: Select all

Ctrl::Send, {Click, 2}^c

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Kodakku and 398 guests