Created
March 31, 2020 10:27
-
-
Save lordlycastle/068c374de87c3e1482cd03017f1103d6 to your computer and use it in GitHub Desktop.
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
-- new version of script for iTerm2 v2.9+ | |
tell application id "com.googlecode.iterm2" | |
activate | |
set _session to current session of current window | |
tell _session | |
set command to get the clipboard | |
write text "{popclip text}" | |
end tell |
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
tell application id "com.googlecode.iterm2" | |
activate | |
set _session to current session of current terminal | |
tell _session | |
set command to get the clipboard | |
write text "{popclip text}" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment