I have an AutoHotKey script that should hit F3 when I hold down Ctrl, and hit F2 when I release Ctrl.
My script currently:
$ctrl::
Suspend, On
Send, {F3}
While (GetKeyState("Ctrl",P))
{
}
Send, {F2}
Suspend, Off
Return
But when I hold Ctrl down, it does nothing. When I release Ctrl, it hits both F3 and F2. Can someone tell me how to fix this?