Last active
July 11, 2022 23:58
-
-
Save klamping/fd022a2decf7a0e776808c9a8da3a188 to your computer and use it in GitHub Desktop.
Text Replay
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source:
https://softwarerecs.stackexchange.com/questions/10048/any-apps-that-type-what-you-paste-in-os-x
https://appleinsider.com/articles/18/03/14/how-to-create-keyboard-shortcuts-to-launch-apps-in-macos-using-automator