Action
Tag count ⇢ Draft
Steps
-
script
let draftNew = Draft.create() for (let strTag of [...new Set([].concat(...Draft.query("", "all", []).map((currentDraft) => currentDraft.tags)))].sort()) { draftNew.content += strTag + " (" + Draft.query("", "all", [strTag],[], "created", true, false).length + ")\n"; } draftNew.update(); editor.load(draftNew); editor.activate();
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.