It allows me to autofire by holding down the keyboard buttons 1, 2, 3, 4, 5, CTRL+C, CTRL+V, CTRL+B.#MaxHotkeysPerInterval 10000
~$1::
sleep 300
Loop
{
GetKeyState, var, 1, P
If var = U
Break
Send {1}
}
~$2::
sleep 300
Loop
{
GetKeyState, var, 2, P
If var = U
Break
Send {2}
}
~$3::
sleep 300
Loop
{
GetKeyState, var, 3, P
If var = U
Break
Send {3}
}
~$4::
sleep 300
Loop
{
GetKeyState, var, 4, P
If var = U
Break
Send {4}
}
~$5::
sleep 300
Loop
{
GetKeyState, var, 5, P
If var = U
Break
Send {5}
}
Ctrl & c::
Loop
{
if not GetKeyState("c", "P")
break
Send, {Ctrl Down}{c down}
Send, {Ctrl Up}{c up}
}
Ctrl & v::
Loop
{
if not GetKeyState("v", "P")
break
Send, {Ctrl Down}{v down}
Send, {Ctrl Up}{v up}
}
Ctrl & b::
Loop
{
if not GetKeyState("b", "P")
break
Send, {Ctrl Down}{b down}
Send, {Ctrl Up}{b up}
}
Now here's the problem...
Before 1:: 2:: 3:: 4:: 5:: I am able to put ~$ which in turn avoids the autofire from starting when I am pressing, for example, ALT + 1. In other words, thanks to ~$ I can autofire when I'm pressing ONLY 1 and it won't interfere when I am pressing 1 and any other modifier such as ALT, CTRL, SHIFT at the same time, it works perfectly.
I cannot do this with CTRL+C, CTRL+V, CTRL+B; when I try to put ~$ before them like this ~$Ctrl & c:: it gives me an error, so when I hold down CTRL + C to autofire exclusively the action keybound on CTRL + C it also starts autofiring C. I don't want C to autofire when I'm holding CTRL + C. How do I do this? Thanks in advance!