Skip to content

catfist/Alfred-Add-to-Listacular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Alfred-Add-to-Listacular

screenshot

About

This workflow add tasks to Todo.txt with Listacular due/remind format.

Setup

setup

Type 'lsetup' & enter your Todo.txt absolute path to Argument

Usage

lc

Input example

Add tasks to Todo.txt.

Alfred text format: lc task,date,time

task:

All Todo.txt format (priority, context, project) and Listacular due format (@due(yyyy-mm-dd hh:mm), @remind(yyyy-mm-dd hh:mm)) are allowed.

date:

The following format is available. It can be omitted.

Today is suppose to be a 2014/05/05.

input output note
+0 2014-05-05 +* become after * days
+1 2014-05-06
+365 2015-05-05
7 2014-05-07 Specified date of this month
1 2014-06-01 If complemented date is in the past, I will be in next month
7-10 2014-07-10 Specified date of this year
1-10 2015-01-10 If complemented date is in the past, I will be in next year
2014-01-01 2014-01-01 If a complete date is entered,it's not compared with the current date
2014-1-1 2014-01-01
(none) 2014-05-05 If 'time' is inputed

time:

The following format is available. It can be omitted.

Now is suppose to be a 12:00.

input output note
910 09:10
2230 22:30
9 09:00
20 20:00
1h 13:00 *h become after * hours
15m 12:15 *m become after * minutes
(none) 23:59 If 'date' is inputed

Example

Now is suppose to be a 2014/5/5 12:00.

Items beginning from - has a checkbox in Listacular.

If @n is inputed, it will be an item without a checkbox.

input output
some task - some task
some task,+1 - some task @due(2014-06-02 23:59)
some task,,12 - some task @remind(2014-05-05 12:00)
some task,22,8 - some task @remind(2014-05-22 08:00)
some task,22,8h - some task @remind(2014-05-22 20:00)
some note @n some note
# header @n # header

ls

Search example

This command needs GNU sed. Install GNU sed by brew install sed .

Search tasks (begining from - ) Incremntal. Enter make done, (crtl) set new Tag.

Alfred text format: SearchWord(,date,time)

To set new Tag, date & time is required. Format is same as 'lc' command.

lcdone

This command needs GNU sed. Install GNU sed by brew install sed .

Move tasks completed (bigining fron x ) to 'done.txt' that exist in the same folder as the Todo.txt.

Implementation plan

  • Corresponding to TaskPaper format

About

Add task to Listacular

Resources

Stars

Watchers

Forks

Packages

No packages published