Action
Copy to ios Clipboard
A simple copy of the draft to the iOS clipboard, with a prompt asking if you want to archive the draft after copying.
Useful if you both frequently want to copy and move on, as well as copying mid-work.
Steps
-
clipboard
template [[draft]]
-
script
// See online documentation for examples // http://getdrafts.com/scripting var p = Prompt.create(); p.title = "Archive After Copy?"; p.addButton("No"); p.addButton("Yes"); var didSelect = p.show(); if (p.buttonPressed == "Yes") { draft.isArchived = true; draft.update(); editor.new(); editor.activate(); }
Options
-
After Success Nothing Notification Info Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.