Simple Mouselook toggle via AutoHotKey

Simple Mouselook toggle via AutoHotKey

in Players Helping Players

Posted by: Xavori.3768

Xavori.3768

As someone who has a couple health problems directly related to my hands, I really hate having to hold down a mouse button for any extended length of time. Since I’m also fairly addicted to the game, it was getting problematic.

Anyway, I wrote a very basic autohotkey script that does nothing but turns Shift+Right Click into a toggle that holds down the right mouse button allowing you to play the game as if you were holding down the right mouse button. Shift+Right Click again toggles it back off.

To use, just create a new script for AutoHotKey and use this script:


ToggleButton := false

^!k:: ExitApp ; close this script
^!r::Reload

+RButton::
If ToggleButton
{
Send {rbutton up}
ToggleButton := False
return
}
else
{
Send {rbutton down}

ToggleButton := True
return
}
return
______________________________________________

Hey I just met you – And this is crazy –
But here’s my body – So rez me maybe?

Simple Mouselook toggle via AutoHotKey

in Players Helping Players

Posted by: Xavori.3768

Xavori.3768

Heh. Simplified it MUCH further after playing in game with it a bit.

All you need is one line:

+RButton:: Send {rbutton down}

After that, click Shift+Right Button toggles the right button being held down, and just clicking the right button again toggles it back off.

Hey I just met you – And this is crazy –
But here’s my body – So rez me maybe?