Created
May 7, 2015 12:06
-
-
Save mplacona/2b8c2949ccb76f9b7bbb to your computer and use it in GitHub Desktop.
The Code Compiler
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 "Terminal" | |
activate | |
reopen | |
tell application "System Events" to keystroke "t" using command down | |
repeat while contents of selected tab of window 1 starts with linefeed | |
delay 0.01 | |
end repeat | |
do script "bash ~/Projects/bash/compiling.sh" in window 1 | |
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
* create the script | |
* add a shortcut to it in your keyboards shortcut as shown in the screenshot (http://monosnap.com/image/idkRLKyEij1DC2bstdwUmznG0ODX3S) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment