Created
March 12, 2023 14:51
-
-
Save elyase/e1b5e607d37398814caff149b9c2c567 to your computer and use it in GitHub Desktop.
Run command in Warp with pop clip
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
-- # PopClip Run in Warp | |
-- { name: Run in Warp, icon: iconify:simple-icons:warp, language: applescript } | |
tell application "Warp" | |
activate | |
tell application "System Events" | |
tell process "Warp" | |
delay 0.01 | |
set sourceText to "{popclip text}" | |
keystroke sourceText | |
delay 0.01 | |
key code 36 | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment