This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.
This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.
Description: This routine orders a given supermarket list based on another master section/article list that you can build by yourself, and creates a task paper file with your planned purchase route nicely distributed by sections, and in the order that you usually traverse the supermarket, which is the order that you specify in your master list. The problem that this routine helps to solve is the following: at the moment when you trap the list of things that you need to purchase, you usually don't have in mind the order in which the supermarket places the articles into sections. You just drop you items as they come to your memory. Later, when you are at the supermarket, and you use your unordered list, you have to go up and down through it (unless you have memorized it) , and sometimes you miss an article and you have to step back through your route to get it. This routine can help you to avoid that very common situation among golden fishes like we many people are.
The routine is thought so you can use it for more than one supermarket.
To use this routine, first, you create a file with your shopping list formatted in the following fashion:
Article 3:amount 3
First and second lines are mandatory. First line contains the name of the supermarket that you want to have the list ordered for. You will see below why you need this line. The second line is just to tell to the routine that the list goes after the second line. After that, you will enter the items of your shopping list, and opcionalliy the amount of each items after a colon.
Once you have your shopping list, you will create a subdirectory called "super" in the same directory where you have your shopping list. You will have to do this only once.
Into that subdirectory, you create a file called "MySupermarket.taskpaper". This file will contain the section/article ordered distribution that represents the route that you follow during your shopping. Note that the name of the file must be the same as the name of the supermarket of the first line in your shop list. You can have as many supermarket files as you want in your "super " subdirectory. The routine will reorder your shopping list using the file with the name in the first line of your shopping list.
The content of the file "MySupermarket.taskpaper" (here is where you enter your shopping route) that you create will have the following structure:
All section names must end with colons.
Note that the names of the articles must be lowercase, and notice that you should not write dashes behind the article names (you are not creating a task list; the routine will do that for you).
Once you have a master sorted out, just execute the workflow routine from you shopping list file, and the routine will create the task list shopping route for you.
One last thing: the articles that the routine cannot find in your master list will be placed in an special section called "No section" at the end.
Shared by: Rafa Sanchez
Comments: Comment Feed (RSS)