Skip to content

Instantly share code, notes, and snippets.

@catichenor
Last active August 9, 2023 13:54
Show Gist options
  • Save catichenor/28cbf918aec4255d33a66e82e7f77148 to your computer and use it in GitHub Desktop.
Save catichenor/28cbf918aec4255d33a66e82e7f77148 to your computer and use it in GitHub Desktop.
Type text from the clipboard with AppleScript/Automator
--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