Skip to content

Instantly share code, notes, and snippets.

@pilotmoon
Created June 22, 2012 21:37
Show Gist options
  • Save pilotmoon/2975339 to your computer and use it in GitHub Desktop.
Save pilotmoon/2975339 to your computer and use it in GitHub Desktop.
AppleScript to create a new message in Sparrow and set the text.
tell application "Sparrow"
set newMessage to make new outgoing message with properties {content:"some text"}
compose newMessage
activate
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment