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
GetKeyState, state, 1, P
if state = D
indent preformatted text by 4 spaces