Action

OmniFocus - Multiple

Posted by @TiffanyW_412, Last update over 6 years ago

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

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
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.