Changing keybinds
Posted: 24 Mar 2018, 00:52
i want to change the keybind A (makes a and d spam) to Mouse5
How do i do this?
Code: (Not My Own Credit Goes To: Rohwedder)
$Xbutton2:: ;Hotkey XButton2
While, GetKeyState("a","P")
{
Send, {a Down}
Sleep, 1000
Send, {a Up}{d Down}
Sleep, 1000
Send, {d Up}
}
Return
}
Return
How do i do this?
Code: (Not My Own Credit Goes To: Rohwedder)
Spoiler
This is what i changed it to but it doesnt work.$Xbutton2:: ;Hotkey XButton2
While, GetKeyState("a","P")
{
Send, {a Down}
Sleep, 1000
Send, {a Up}{d Down}
Sleep, 1000
Send, {d Up}
}
Return
}
Return