Drafts Action Directory

Archive and Make New Draft

Posted by nathanblawrence, Last updated: 2018-07-04 12:45:27 UTC

Archive the current draft and set up a new blank one for your immediate use!

Install

Steps

  • script

    // See online documentation for examples
    // http://getdrafts.com/scripting
    
    draft.isArchived = true;
    draft.update();
    
    editor.new();
    editor.activate();

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.