Hello! I wrote an improved version of this workflow. You can find it here.
Since we were using the
args parameter instead of
argv, I was having problems with spaced and accented items. I decided to stick to the argument and play with encodings in python. First, let's reinstall the Drafts action:
And the let's change our Commas2Clear script in Pythonista:
from urllib import quote,unquote from webbrowser import open a = unquote(sys.argv).split('\n') clear = 'clearapp://list/create?listName=' + quote(a.decode('latin-1')) + '&tasks=' + quote(', '.join(x for x in a[1:])) open(clear)
You're good to go. Happy list-making.