Action

Dictation with Tags

Posted by agiletortoise, Last update over 2 years ago - Unlisted

Dictate and create new draft with result.

Steps

  • script

    let tag = "my-tag";
    let text = editor.dictate();
    
    if (text.length > 0) {
    	let d = new Draft();
    	d.content = text;
    	d.update();
    	d.addTag(tag);
    	editor.load(d);
    }
    else {
    	context.cancel();
    }

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.