Skip to content

Instantly share code, notes, and snippets.

@klamping
Last active July 11, 2022 23:58
Show Gist options
  • Save klamping/fd022a2decf7a0e776808c9a8da3a188 to your computer and use it in GitHub Desktop.
Save klamping/fd022a2decf7a0e776808c9a8da3a188 to your computer and use it in GitHub Desktop.
Text Replay
try
set getClip to the clipboard as text
on error
set getClip to " "
end try
tell application "System Events"
repeat with i from 1 to count characters of getClip
keystroke (character i of getClip)
delay (random number from 0.02 to 0.05)
end repeat
end tell