I have no particular argument with what you're saying at all. When I play games, for example, I disable the script so that it doesn't interrupt the game on accident. It seems, however, that for the common things that I do in Windows, the script is incredibly nice because I don't have to remember that things are different when I'm in Windows--I can just get things done.
The problem with keyboard shortcuts is that instead making it so I don't have to think about the particulars of the OS, it actually increases the amount of things I have to think about by adding new shortcuts that I will unlikely use anywhere else. (I've removed the multi-clicking issues, so only the middle click is being compromised now...)
So, in the end, it depends on what you need. I mean, if you need the functionality and don't mind turning the script off at certain times, then it's probably for you. If you use programs that map the middle click pretty constantly (I can honestly only think of games here) then you probably either want to forgo the script entirely, or assign those shortcuts.
I'm posting my updated script here, that removes the double-click hassles. You'll have to drag-select to copy, but nothing else strange happens now. Use or not, whatever works for you. This works for me.
Code:
CoordMode Mouse, Screen
~LButton::
MouseGetPos x0, y0 ; save start mouse position
Loop
{
Sleep 20 ; yield time to others
GetKeyState keystate, LButton
IfEqual keystate, U, {
MouseGetPos x, y ; position when button released
break
}
}
if (x-x0 > 5 or x-x0 < -5 or y-y0 > 5 or y-y0 < -5)
{ ; mouse has moved
tempClipBoard := ClipBoardAll ; save old clipboard
ClipBoard =
Send ^c ; selection -> clipboard
mmClip := ClipBoard ; store selection in custom clipboard
Clipboard :=tempClipBoard ; restore clipboard for ctl-c and ctl-v
}
return
~Mbutton::
tempClipBoard := Clipboard ;temporarily store clipboard
Clipboard := mmClip ;restore selection into clipboard
Send, ^v ;Paste via middle mouse click
Clipboard := tempClipBoard ;restore original clipboard
return