Quickadd macro to delete completed tasks

What i’m trying to do

I’m using the tasks plugin and when completing recurring reminders, I get a big list of tasks. I want to delete them.

image

Things i have tried

The easiest way I found to delete them is a macro with quickadd that includes these commands :

  1. open the file in edit mode
  2. move completed tasks to heading (using task collector)
  3. select all the completed tasks ??
  4. delete paragraph command

The problem is that I can’t find a command to select this list of completed tasks.
If you know an easier solution to this problem, please let me know.
Thank you.

I’ve resolved my problem using the task archiver new feature (move completed tasks to other file)

So, I’ve made a macro with quick add using these actions :

  1. move completed tasks to other file
  2. navigate to that file using URI commands plugin
  3. delete the current file
  4. navigate back

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.