Please someone help me.
I want to trigger a macro with my mouse in a Game.
When i press the Wheel Button Down it should fire T4T4T4...
However the code i have doesn't do anything:
Code: Select all
MButton::
While GetKeyState("MButton")
{
Send, 4
sleep, 290
Send, t
sleep, 200
}
return
I want it to do T4T4T4T4 as long as i hold the Wheel down.
I have a similar code bound to a keyboard key and that works fine:
Code: Select all
^::
While GetKeyState("^")
{
Send, t
sleep, 1
Send, f
Sleep, 1
Send, 4
sleep, 1
}
return