Forums

Discuss all things Remember The Milk.

menu

Milkscript

chris.siret says:
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.
Posted at 12:09pm on May 27, 2025
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! 💙
Posted 4 days ago
Log in to post a reply.