Created
July 31, 2013 01:02
-
-
Save philgruneich/6118476 to your computer and use it in GitHub Desktop.
one-tap send clipboard message in markdown as an HTML email using Drafts and Launch Center Pro. This action takes the first line as recipients and the remaining as the content. This action works for emails with more than a single paragraph.
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
//Create the following rule at Launch Center Pro: | |
drafts://x-callback-url/create?text={{[[clipboard]]}}&action=Markdown%20Long | |
//Add the following rule to Drafts, named Markdown Long: | |
drafts://x-callback-url/create?text=[[body]]&action=Markdown%3A%20Copy%20to%20Clipboard&x-source=Drafts&x-success={{drafts://x-callback-url/create?text=[[title]]&action=Long%20Clipboard%20Mail&afterSuccess=Delete}}&afterSuccess=Delete | |
//Add this other rule to Drafts, named Long Clipboard Mail: | |
launchpro-email://x-callback-url/?to=[[draft]]&subject=&body=[[clipboard]] | |
//You're good to go. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment