Editorial Workflows

Clean Up TaskPaper Archive

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Modified version of Clean Up Completed Tasks workflow. Intended to be run every now and then on a Main.taskpaper file to empty the archive by filtering lines tagged as @done and prepending them to an Archive.taskpaper. The lack of disclosure triangles in Editorial means having to look at that eventually unwieldy archive, but I don't always want to just delete completed tasks. Thanks to @scottzero for the original workflow this is based on.

Note: all I did was change the filenames (and paths) in the proper actions and then change the line filtering to @done.

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Get Current File Name ?
Include Folder
OFF
Include Extension
ON
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
todo.taskpaper
Document Text ?
Folded Text
  • Include
  • Replace with:
Filter Lines ?
Output Lines That
  • Contain
  • Don't Contain
  • Match Regular Expression:
@done
Output Format
  • Only Lines
  • Lines and Ranges
Set Variable ?
Variable Name
completed
Value
Input
Document Text ?
Folded Text
  • Include
  • Replace with:
Filter Lines ?
Output Lines That
  • Contain
  • Don't Contain
  • Match Regular Expression:
@done
Output Format
  • Only Lines
  • Lines and Ranges
Set Variable ?
Variable Name
todo
Value
Input
Get File Contents ?
File Name
done.taskpaper
In Dropbox
ON
If File Does Not Exist
  • Empty Output
  • Stop Workflow
Set Variable ?
Variable Name
done
Value
Input
Set File Contents ?
File Name
done.taskpaper
In Dropbox
ON
New Text
completed done
If File Does Not Exist
  • Create
  • Stop Workflow
Set File Contents ?
File Name
todo.taskpaper
In Dropbox
ON
New Text
todo
If File Does Not Exist
  • Create
  • Stop Workflow
…End If