I am trying to get a script that will let me switch between keys. Right now I am using this script to do just the 1 key. But I want to have the same for the 2 key.
#IfWinActive World of Warcraft
$1::
GetKeyState, state, 1, P
if state = D
Loop
{
Send {1}
Sleep, 30
return
} #IfWinActive
indent preformatted text by 4 spaces