• pronetobits

    Ah, I see. Yes, I am probably doing this the hard way. It didn't occur to me to do it your way, but it is good to know your approach is possible and easier. Thank you for sharing. It is very helpful.

    posted in Editorial read more
  • pronetobits

    Sorry if it was not clear. The first workflow stores the regex for matching past and today start tags in a variable. The other two workflows use this variable by calling it from the first workflow in a sub-workflow step. Does that clear things up?

    What specifically is your Python supposed to help with?

    posted in Editorial read more
  • pronetobits

    I really like how the TaskPaper 3 Mac app is aware of dates and allows for relative date queries, such as the following shared by @macdrifter for finding all available items with start dates on today or in the past.

    Available @search(@today or @start <[d] today)

    I found myself wanting this on iOS, so I've cobbled together some python and regex to achieve it in Editorial.

    Here is an ingredient Editorial workflow that generates a regex to match all lines containing @start(yyyy-mm-dd) tags for today's date and all dates before today (stored in two different workflow variables respectively). The python scripts have an option up top to change "start" to some other tag like "due" to match due date tags.

    http://www.editorial-workflows.com/workflow/5867115714183168/xGNRsW6uGhA

    Here are two workflows that use these variables.

    This first workflow shows a popover of all tasks tagged with today or past start dates. Tapping on an item takes you to that item in the document and highlights the task.

    http://www.editorial-workflows.com/workflow/5865285923897344/HL42MJmOIiI

    The second folds all lines except those with start tags today or in the past (similar to @macdrifter's Available search above). It also leaves project titles unfolded so you have those for reference. This one could be improved by not showing projects headers that do not contain available tasks and also showing descendants of available tasks like indented notes or subtasks on the following line(s), but I haven't yet been able to figure those things out. I'll keep trying, but maybe someone else could work that out.

    http://www.editorial-workflows.com/workflow/5818118995705856/onvBSXAqBoY

    Note: These workflows only work for dates between 2000-01-01 and 2029-12-31. Hopefully, scheduling 15 years out is not a significant need.

    posted in Editorial read more

Internal error.

Oops! Looks like something went wrong!