ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Triple-Click Mouse Utility

(1/2) > >>

Ralf Maximus:
Hiya,

I've looked high and low for something like this, but to no avail.

I need a wee little thing that sits in the task bar and detects mouse triple-clicks.  Upon triple-click, it converts the action into a predefined hotkey / keystroke.  For instance, convert triple-click into SHIFT-F2.

Make sense?  Whattaya think?

Thanks,
Ralf

mouser:
Seems like it could be useful to me, at least for some apps.  i wonder if any of the mouse gesture utilities (stroke it) have anything like this already?

Nod5:
Hi Ralf,
there are various mouse gesture programs that I think could do that. In addition to StrokeIt that Mouse mentioned Autohotkey (http://www.autohotkey.com ) is capable of mouse gesture scripts ( http://www.autohotkey.com/docs/scripts/MouseGestures.htm ).

Triple left clicks might be complicated to implement since I suppose you would still want to use single and double clicks in many contexts. So the script must often let those through but not in those cases where you want the triple click functionality.

One alternative would be to instead make a mouse middle button gesture. For example, when you hold the mouse middle button and at the same time drag the mouse up, window sends SHIFT-F2. There are two advantages here: Middle mouse clicks are seldom used in window applications so there are fewer possible conflicts. Also, holding middle mouse button and moving the mouse might be less tiring than triple clicking (I at least get tired in my right arm quickly when I do a lot of double clicking so triple would be even worse).

I made such a script for Autohotkey that sends SHIFT-F2 on middle mouse press + mouse move up. You could try it and see if it fits your needs:

--- ---~MButton::
MouseGetPos, OutputVarX, OutputVarY
sleep, 100
MouseGetPos, OutputVarXB, OutputVarYB
GetKeyState, state, MButton
if state = D
{
ydiff := OutputVarY - OutputVarYB
if ydiff > 50
Send +{F2}
}

Ralf Maximus:
I installed StrokeIt and configured it the way I want.  No triple-click (obviously) but now I've got a gesture that does what I need.  Thanks!

Programmy my middle button to do something would be great, but this particular mouse (el cheapo Dell) has a hard time discerning between middle-click and a scroll.  Sometimes I get both, sometimes neither.  So alas, I must stay away from my middle button.  Which kind of sounds naughty but rest assured, it's not.

I'd still like a triple-click thingie, but I can live without it.  I recognize it's a hard thing to detect and also many applications (MS Word) use triple-click to mean "select a whole phrase" so it'd be fun fighting that.  In my case, I only need it available in one app, and it ain't Word.  :-)

Thanks again for the awesome lead -- I wouldn't have found StrokeIt on my own.  Which, again, sounds naughty but it's not...

Regards,
Ralf

Nod5:
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)


--- ---~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 =

Navigation

[0] Message Index

[#] Next page

Go to full version