Action

Groceries

Posted by James Hartshorn, Last update over 1 year 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.