Created
September 12, 2011 19:54
-
-
Save ream88/1212213 to your computer and use it in GitHub Desktop.
@ThomasFuchs: lazy tweet: on Lion, how can I pipe from the command line into a new email in Mail.app?
This file contains hidden or 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
osascript -e 'tell application "Mail" to make new outgoing message with properties { Content: do shell script "ls", visible: true }' -e 'tell application "Mail" to activate' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment