Thank you for the clarification. I guess then, maybe what I need to ask is how this script can be modified so it isn’t toggling and will only fire off when I press and hold the key? I’m using it now and it works fine except that I’ll forget I have to press the key a 2nd time to turn the macro off.
#IfWinActive World of Warcraft
toggle1 := 0
toggle2 := 0
SetTimer, PressKey1, 50
SetTimer, PressKey2, 50
$*1::toggle1 := !toggle1
$*2::toggle2 := !toggle2
PressKey1:
If toggle1
{
toggle2 := 0
If GetKeyState(“Control”, “P”) && GetKeyState(“Shift”)
Send +^1
Else If GetKeyState(“Control”, “P”)
Send ^1
Else If GetKeyState(“Shift”, “P”)
Send +1
Else
Send 1
}
Return
PressKey2:
If toggle2
{
toggle1 := 0
If GetKeyState(“Control”, “P”) && GetKeyState(“Shift”)
Send +^2
Else If GetKeyState(“Control”, “P”)
Send ^2
Else If GetKeyState(“Shift”, “P”)
Send +2
Else
Send 2
}
Return
#IfWinActive