Created
March 28, 2013 20:38
-
-
Save radex/5266593 to your computer and use it in GitHub Desktop.
Coding some part of an Xcode project in TextMate? Tired of constantly switching between TM and Xcode to compile it? Create this command in your TextMate bundle:
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
#!/bin/zsh | |
osascript <<SCRIPT | |
tell application "Xcode" | |
activate | |
end tell | |
tell application "System Events" | |
tell application process "Xcode" | |
click menu item "Stop" of menu 1 of menu bar item "Product" of menu bar 1 | |
click menu item "Run" of menu 1 of menu bar item "Product" of menu bar 1 | |
end tell | |
end tell | |
SCRIPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment