#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
$N:: ; this is the "'" key
Loop
{
if not GetKeyState("N", "P")
break
Click
Sleep, 10
}
$a:: ; this is the ";" key
Loop
{
if not GetKeyState("A", "P")
break
Send {LControl down}
Sleep, 10
Send {x down}
Sleep, 10
Send {x up}
Sleep, 10
Send {x down}
Sleep, 10
Send {x up}
Sleep, 10
Send {x down}
Sleep, 10
Send {x up}
Sleep, 10
Send {LControl up}
}
return