The need for this is that I am playing a game where I need to press F3 quite frequently. It was Alt + F3 at first but I managed to only set it to F3 by editing the script. Anyways, I need to press F3 quite frequently because it enables some information that I require during certain situations in this game.
A rundown of how it works currently is that, when you press F3, it shows the information, and when you press F3 again, it disappears.
I want to make it so that when I press my middle mouse button down, it presses F3 and displays the information, and when I release my middle mouse button, it presses F3 again and hides the information.
Code: Select all
MButton::
Send {F3 Down}{F3 Up}
return
MButton Up::
Send {F3 Down}{F3 Up}
return
Excuse my brievity, if you need me to explain something in greater detail I'll be more than happy to try.