Action

Append to Draft

Posted by tommertron, Last update almost 5 years ago

Append full contents of draft to a fixed draft based on UUID. Make sure to edit the script and add the UUID of the draft you want to append. I use this to quickly append new items that pop up in my head to a general packing list. This is handy when I’m travelling and realize I’ve forgotten something that would be useful for the next time I travel.

Steps

  • script

    // append draft contents to an existing draft
    
    let d = Draft.find("ENTER YOUR UUID BETWEEN THESE QUOTATION MARKS")
    
    // append current draft
    d.content = d.content + "\n" + draft.content
    d.update()
    

Options

  • After Success Archive
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.