SetKeyDelay, 200 ^M:: ; This sets CTRL + M as the "hotkey" (trigger). send, !{right} ; sends playhead to the right edge of the clip Loop, 5 ; number of iterations { send, ^c ; Copies the clip. send, {PgDn 4}{right 5} ;PgDn 4X right 5x send, ^v ; Pastes the clip. sleep, 200 } send, !{left} ; After the loop ends, sends playhead to the left edge of the clip. return