I created a simple but I think very functional little script. It allows you to add extra functionality to your RIGHT mouse button.
a) Double click with it to bring up the function of your choice. We all double click with the left button. why not with the right too? I used it to click a link to open it into a new IE window and minimize it.
Press and hold. Hold down your right mouse button for 1 sec for yet another function. I use it to open a new compose window in my email.
If you just click it once as usual, you get the right mouse menu as usual.
Here it is (edit as you like): Its part of my autohotkey.ini file.
Rbutton:: ; ;it gives you half a second to either complete the double click ;or to complete the press-and-hold cycle. If neither happens ;you get a normal single click response. ; keywait, rbutton, t0.5 if errorlevel = 1 { ; ;This registers a 'press-n-hold' on the right mouse button. ;ADD YOUR FUNCTIONS HERE, for instance ;you could do a control-n to open a new IE window, as below ; send, ^n return } else keywait, rbutton, d, t0.5 if errorlevel = 0 { ; ;this registers a 'double click' on the right mouse button. ;add your functions here, for instance I use it below ;to do a shift-left click which opens a link in its own window ; send, +{lbutton} return } else ; ;if neither of the above heppen, send a regular single click ; mouseclick, right returnThats it! Nice functionality that extends the usefulness of the mouse while surfing the web...
Jak