Skip to content

Instantly share code, notes, and snippets.

@ream88
Created September 12, 2011 19:54
Show Gist options
  • Save ream88/1212213 to your computer and use it in GitHub Desktop.
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?
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