Double-click/Triple-Click script - AutoHotkey Community

PHOTO EMBED

Mon Dec 05 2022 03:17:54 GMT+0000 (Coordinated Universal Time)

Saved by @savabeh191 #0

#SingleInstance, Force
click1:
KeyWait, LButton, D T0.2
KeyWait, LButton, D T0.2
KeyWait, LButton, D T0.2
if (ErrorLevel=0)
{
Send, ^c
goto, click1
}
else
{
goto, click1
}

RButton::
KeyWait, RButton, U, T0.2
KeyWait, RButton, D, T0.2
if (ErrorLevel=0)
{
Send, ^v
return
}
else
{
return
}
content_copyCOPY

Triple-click the left mouse button on any text = copy selection; Double-click of the right mouse button anywhere = paste.

https://www.autohotkey.com/boards/viewtopic.php?t