Milkscript

I’d like to explore more of what’s possible with MilkScript. Maybe a concrete example.
A script that could: check tasks in a given Smart List; if some of these tasks have no priority, then automatically set them to priority 1, and/or optionally add a specific tag (for example: "todo").
Is it possible to generate such a script easily (maybe through a tool)?
Thanks.
A script that could: check tasks in a given Smart List; if some of these tasks have no priority, then automatically set them to priority 1, and/or optionally add a specific tag (for example: "todo").
Is it possible to generate such a script easily (maybe through a tool)?
Thanks.

andrewski (Remember The Milk) says:
Hi chris.siret,
It's not possible to generate a script but with a bit of JavaScript knowledge you could adapt an existing script like this example that stars tasks. You would want to use something like SmartLists.getTasks(filter) to select just the tasks without a priority, and then act on them.
I hope this helps a bit to get going! 💙
It's not possible to generate a script but with a bit of JavaScript knowledge you could adapt an existing script like this example that stars tasks. You would want to use something like SmartLists.getTasks(filter) to select just the tasks without a priority, and then act on them.
I hope this helps a bit to get going! 💙
Log in
to post a reply.