Skip to content

Instantly share code, notes, and snippets.

@mark05e
Created March 16, 2026 13:13
Show Gist options
  • Select an option

  • Save mark05e/f5ae4d67e09a741e9154a6bab7c624c0 to your computer and use it in GitHub Desktop.

Select an option

Save mark05e/f5ae4d67e09a741e9154a6bab7c624c0 to your computer and use it in GitHub Desktop.
; Typewriter Paste - Ctrl+Shift+V
; Types clipboard content character by character with delay (AutoHotkey v1.1)
; Delay in ms between characters (adjust to taste)
DelayMs := 75
^+v::
saved := ClipboardAll
Clipboard := Clipboard
if (StrLen(Clipboard) = 0) {
MsgBox Clipboard is empty.
Clipboard := saved
return
}
Loop Parse, Clipboard
{
char := A_LoopField
if (char = "`r")
SendInput {Enter}
else if (char = "`n")
; Skip LF when we already sent Enter for CR (CRLF)
continue
else
SendInput {Raw}%char%
Sleep %DelayMs%
}
Clipboard := saved
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment