In the beginning I was having an issue with the numbers 1 and 2 being sent without modifiers, so I added down and up to it, and it seems to have corrected it.
Code: Select all
$4::
Send, {4}
Sleep, 1
Send, {Ctrl down}{Alt down}{1}{Ctrl up}{Alt up}
Sleep, 1
Send, {Ctrl down}{Alt down}{2}{Ctrl up}{Alt up}
Sleep, 1
Send, {0}
Return
Code: Select all
$!4::
While GetKeyState("4","P") && GetKeyState("Alt","P")
Send, !{4}
Send, ^{8}
Return
Is there perhaps a workaround for this? I added ctrl down and up to the 2nd part, but that did not solve the problem.