Action

Groceries

Posted by James Hartshorn, Last update about 5 years ago

Add a list of items to the Grocery app.

Steps

  • script

    // define regex to use...
    const findRegex = /\n/g;
    // define replacement expression...
    const replaceWith = ", ";
    
    // do the replacement...
    draft.content = draft.content.replace(findRegex, replaceWith);
    draft.update();
  • url

    template
    grocery://add?items=[[draft]]
    useSafari
    false
    encodeTags
    true

Options

  • After Success Archive
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.