Action
Add Tags (Comma Separated List)
Steps
-
script
//Build and show the input window let promptTags = Prompt.create(); promptTags.title = "Multi-Tag Entry"; promptTags.message = "Enter a list of comma separated tags (no spaces around the commas)."; promptTags.addTextField("tagList", "Tags:", ""); promptTags.addButton("OK"); promptTags.show(); if (promptTags.buttonPressed == "OK") { //Split the tags received by comma and add each in turn to the current draft let arrTags = promptTags.fieldValues["tagList"].split(","); arrTags.forEach(function(strTag) { draft.addTag(strTag); }); } 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.