Drafts Action Directory

Add to existing list

Last update about 1 year ago

Add current draft contents to a list in an existing draft, based on the UUID

Install

Steps

  • script

    // get text to append
    const myText = "\n[ ] " + editor.getText();
    
    // get the target Draft and append the text
    var myTarget = Draft.find("UUID");
    myTarget.content += myText;
    myTarget.update();

Options

  • After Success Default
    Notification Info
    Log Level Info

Comments

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