Drafts Action Directory

OmniFocus - Multiple

Posted by @TiffanyW_412, Last update 5 months ago

Add multiple tasks to OmniFocus. Uses a little JavaScript magic.

Install

Steps

  • script

    // See online documentation for examples
    // http://drafts5-help.agiletortoise.com/
    
    // Script steps run short Javascripts
    // For documentation and examples, visit:
    // http://help.agiletortoise.com
    
    var text = "";
    var tasks = draft.content.split("\n");
    for (i in tasks) {
    text += "- " + tasks[i] + "\n";
    };
    
    draft.setTemplateTag("OFTasks", text);
    
  • url

    template
    omnifocus:///paste?target=inbox&content=[[OFTasks]]
    useSafari
    false
    encodeTags
    true

Options

  • After Success Default
    Notification Error
    Log Level Info

Comments

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