Created
October 22, 2019 21:53
-
-
Save skartknet/3b32fa7ba4266426cc8a1e55529924d5 to your computer and use it in GitHub Desktop.
It paste the clipboard content as if you were actually typing, with a delay between strokes. I find it useful to create coding tutorials and not to worry about typos.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Event ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
^+v:: | |
FixString = {Raw}%Clipboard% | |
Send % sendAtRandom(FixString) | |
sendAtRandom(string) { | |
Loop, parse, string | |
{ | |
Send % A_LoopField | |
Random, t, 20, 120 | |
Sleep, %t% | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment