Created
February 19, 2023 23:00
-
-
Save logicalgroove/c06d254be7d5dcd682a28c37ba66b16e to your computer and use it in GitHub Desktop.
screen_typer.scpt
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
on run {input, parameters} | |
activate application "iTerm" | |
tell application "iTerm" | |
tell current tab of current window | |
set theString to "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | |
tell application "System Events" | |
repeat with thisChar in theString | |
keystroke thisChar | |
delay 0.03 | |
end repeat | |
keystroke return | |
end tell | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment