Created
July 31, 2013 00:59
-
-
Save philgruneich/6118460 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, second line as subject and moves your content around using the clipboard. It only works for short emails that use no 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%20Short | |
//Add the following rule to Drafts, named Markdown Short: | |
drafts://x-callback-url/create?text=[[line|3]]&action=Markdown%3A%20Copy%20to%20Clipboard&x-source=Drafts&x-success={{drafts://x-callback-url/create?text=[[line|1]]%0A[[line|2]]&action=Short%20Clipboard%20Mail&afterSuccess=Delete}}&afterSuccess=Delete | |
//Add this other rule to Drafts, named Short Clipboard Mail: | |
launchpro-email://x-callback-url/?to=[[line|1]]&subject=[[line|2]]&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