Created
June 29, 2015 15:46
-
-
Save axani/fb5c59ce4ed3b63f9064 to your computer and use it in GitHub Desktop.
CodeKit Hook: Run Python in current iTerm window
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
-- CodeKit -> Hooks: Run the following "Apple Script" | |
tell application "iTerm" | |
tell the current terminal | |
activate current session | |
tell the last session | |
write text "python \"path to/pythonscript.py\"" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Needless to say that this works with other scripts, too