Last active
August 9, 2023 13:54
-
-
Save catichenor/28cbf918aec4255d33a66e82e7f77148 to your computer and use it in GitHub Desktop.
Type text from the clipboard with AppleScript/Automator
This file contains hidden or 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
--Adapted from http://apple.stackexchange.com/questions/194567/how-can-i-use-applescript-to-type | |
--Types text in where TypeIt4Me dare not tread (like in a VNC session). | |
on run {input, parameters} | |
tell application "System Events" | |
set textToType to the clipboard | |
delay 1 | |
keystroke textToType | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment