Action

Open status:wip tagged draft

Posted by @sylumer, Last update 5 months ago - Unlisted

Steps

  • script

    let adAll = Draft.query("", "all", ["status:wip"], [], "created", false, false);
    
    let adTrash = Draft.query("", "trash", ["status:wip"], [], "created", false, false);
    
    let adCombined = adAll.concat(adTrash);
    
    if (adCombined.length <1) alert("No matching drafts");
    else
    {
    	editor.load(adCombined[0]);
    	editor.activate();
    }

Options

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