I just found out about AutoHotkey and I'd like to make a script for a game.
I want to start the script when I press something like ctrl+b, and when I click the left mouse button I want it to switch to numpad 3, when I click again I want it to go back to numpad 2, when I click again back to numpad 3, etc.. when I press ctrl+n I want the script to end.
tl;dr: want to switch numpad when I press the left mouse button
I currently have this:
Code: Select all
^b::
loop
{
LButton::
send, Numpad3
LButton::
send, Numpad2
}
^n::ExitApp
Thanks,
Siebe