iTerm and Textmate scripting hack
September 27th, 2006
I use a pretty standard development environment when I’m working on Rails stuff, consisting of iTerm with various tabs open, and Textmate. I know that’s pretty common for a lot of people.
In the hopes of automating away some of the drudgery of opening iTerm tabs, I spent a few hours the other morning learning enough Applescript to be dangerous and came up with a little script
to do it for me. It opens the following tabs:
- autotest, and runs the test suite
- console, and starts up a script/console
- breakpoint
- shell
- log, and tail -f ’s the development log
It also starts an instance of text mate by doing “mate .” in the path that you point it to, from the shell tab.
Saves me a few minutes a day. Find it available for your edification, and as a quick and bad example
Here it is: Rails_fu





4 comments on “iTerm and Textmate scripting hack”
01
Would really like to check out the script but the links point to a page with an error:
Parse error: syntax error, unexpected T_STRING in /home/.jerome/gmcinnes/anodyne.ca/wp-content/themes/drunkey-love/404.php on line 4
02
could you repost the file? getting a 404. thanks!
03
getting a nasty error when I try to download this applescript textmate / iterm…
Parse error: syntax error, unexpected T_STRING in /home/.jerome/gmcinnes/anodyne.ca/wp-content/themes/drunkey-love/404.php on line 4
04
Hey. Sorry guys. It’s fixed now.
Leave a Reply