There is an action for New Draft from Each Selected line in the Drafts action directory (http://actions.getdrafts.com/a/1I3) - was trying to find one that would just create a new draft from selection. I know I could select text and share as new draft, but was looking for something cleaner.
May give this a go - but question, would it be easier to start with the New Draft from Each Line script above - or start fresh?
Indeed, but I’d assumed it was desired as it’s fewer taps if you use an action on the keyboard row and/or include a keyboard shortcut for triggering it. Both quicker ways to trigger.
@wightwizard - Goal was to really minimize the taps - this is an action I tend to do a lot, copying in large sections of text, then snipping parts I want to keep to new Drafts. I know that it would only be two steps with the functionality in drafts - but 50% quicker to use only one tap and have a button in my toolbar to do this.
@sylumer - nice answer and way better than editing the other action - newDraft.content = editor.getSelectedText(); - this was the part I couldn’t get, first tried to store getSelectedText in a variable by itself, but that wasn’t working. Appreciate the help! Action is running…and this will help in other snippets I want to write.
If I was pasting into a new draft a chunk of text and then extracting chunks to new drafts I’d want a “cut” semantic, rather than a “copy” semantic. That’s to avoid copying more the same chunk more than once.
Actually an action would ideally allow both - or a pair of actions would cover both cases.