1141
Post New Requests Here / Re: IDEA: Triple-Click Mouse Utility
« on: May 07, 2007, 02:55 AM »
Ralf,
glad to hear StrokeIt is working for you... Here's a triple click script for Autohotkey. It lets all clicks through to windows so watch out for accidental single/double click commands when trying to triple click. Also, it only sends the command tied to triple click if a certain process has focus (notepad.exe below, change that to whatever process name you want to send SHIFT + F2 to)
glad to hear StrokeIt is working for you... Here's a triple click script for Autohotkey. It lets all clicks through to windows so watch out for accidental single/double click commands when trying to triple click. Also, it only sends the command tied to triple click if a certain process has focus (notepad.exe below, change that to whatever process name you want to send SHIFT + F2 to)
~LButton::
WinGet, xproc, ProcessName, A
if xproc != notepad.exe
return
if t1 =
{
t1 = %A_Now%
return
}
if t2 =
{
if (A_Now - t1) < 1
t2 = %A_Now%
else
t1 =
return
}
if (A_Now - t1) < 1
{
Send +{F2}
t1 =
t2 =
return
}
t1 = %A_Now%
t2 =
WinGet, xproc, ProcessName, A
if xproc != notepad.exe
return
if t1 =
{
t1 = %A_Now%
return
}
if t2 =
{
if (A_Now - t1) < 1
t2 = %A_Now%
else
t1 =
return
}
if (A_Now - t1) < 1
{
Send +{F2}
t1 =
t2 =
return
}
t1 = %A_Now%
t2 =