Skip to content

Instantly share code, notes, and snippets.

@mpeterson
Created May 18, 2012 16:08
Show Gist options
  • Select an option

  • Save mpeterson/2726087 to your computer and use it in GitHub Desktop.

Select an option

Save mpeterson/2726087 to your computer and use it in GitHub Desktop.
Alfred.App AppleScript to send task to Asana
on alfred_script(q)
tell application "Mail"
set theNewMessage to make new outgoing message with properties {subject:"" &q, content:"", sender:"your@mailhere.com"}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"x@mail.asana.com"}
send
end tell
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment