Created
June 17, 2012 06:53
-
-
Save xxx/2943743 to your computer and use it in GitHub Desktop.
applescript to run mutt in an iterm (or iterm2)
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 "iTerm" | |
activate | |
set t to (make new terminal) | |
tell t | |
set number of columns to 100 | |
set number of rows to 30 | |
tell (make new session at the end of sessions) | |
exec command "mutt" | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure how this works for you, I have to set "mutt" to the exact path (in my case "/usr/bin/local/mutt").