Forums

Discuss all things Remember The Milk.

menu

MilkScript - delete all notes

judykator says:
Can I ask someone who knows this to make me a script that deletes all the notes in the selected task ?
Posted at 7:27pm on September 19, 2022
jonathan.pilborough says:
Sure - not so much a script, just one statement :)

rtm.getSelectedTasks().forEach(task => task.getNotes().forEach(note => note.delete()))
Posted 2 years ago
judykator says:
Full script, please :)
Posted 2 years ago
jonathan.pilborough says:
Sorry, maybe I didn't make myself clear. That is the full script.
Posted 2 years ago
judykator says:
Actually. Thank you. It seemed too short to me so I didn't try it.
Posted 2 years ago
This topic has now been closed automatically due to a lack of responses in the past 90 days.