Northdude

Add tasks to Things

14 posts in this topic

I created a little script to add tasks to Things based on the old one for Alfred v1.

The syntax is

 

First keyword:

task:

#tag1 #tag2 name [project name/area name] in x days/weeks/months/years::note

and

#tag1 #tag2 name [project name/area name] next monday/.../sunday::note

and

#tag1 #tag2 name [project name/area name] on january/../december <day as number>::note

 

 

Second keyword

task2:

<task> ::<note>

This opens the quick entry panel:

 

quick_add.jpg

 

 

 

Download it here!

Edited by Northdude

Share this post


Link to post

Cool, I use the old all the time.  Does this have all the same features?  i.e. does it use this syntax:

 

#tag1 #tag2 name [project name/area name] ::note >duedate +startdate

Share this post


Link to post

At the moment, it works with

name [project name/area name] ::note

 

I'm a bit busy right now but I will try to add the rest this weekend.

I did not use duedate and startdate, did it work like day/month/year?

Share this post


Link to post

Added a second keyword. So there are 2 possibilities now:

1.)

task syntax:

 

<the task itself> [project name/area name] ::<notes>  >+<due date as days left>

 

If you use >x instead of >+x it will set the x of the next month as due date, e.g. >2 is 2 of April.

 

2.)

 

task2 syntax:

 

<task> ::<note>

 

After pressing enter the quick entry panel pops up:

 

quick_add.jpg

 

with the task and note filled in.

twinpeaks and mccamel like this

Share this post


Link to post

Did you update the link to include the second keyword in your original post? I just tried it and I see the one. Thank you for making this!

Share this post


Link to post

Thanks a lot for this. It would be fantastic to have natural language ability here. Enter things like '2 days', 'mar 13', 'next monday'. Not sure how difficult that is though. Thanks again! :)

Share this post


Link to post

Thanks for the updates!  I'd really like to see the addition of tag support as mentioned in my first post in this thread, as I use this all the time in the original and it is the last thing keeping me from fully transitioning to Alfred 2

Share this post


Link to post

Thanks for the updates!  I'd really like to see the addition of tag support as mentioned in my first post in this thread, as I use this all the time in the original and it is the last thing keeping me from fully transitioning to Alfred 2

Sorry, I made a mistake. Truth is that it's working, but just with tags which already existed in Things. When I tried it the first time, nothing happend because I tested it with a random word. So if you use existing tags, it will work.

 

 

Thanks a lot for this. It would be fantastic to have natural language ability here. Enter things like '2 days', 'mar 13', 'next monday'. Not sure how difficult that is though. Thanks again! :)

OK, I'll take a look at this.

Share this post


Link to post

Thanks a lot for this. It would be fantastic to have natural language ability here. Enter things like '2 days', 'mar 13', 'next monday'. Not sure how difficult that is though. Thanks again! :)

 

Ok, I added days, weeks, months and years. It should work like this:

This will be added in 7 days::Alfred is great

 

It creates a task with

This will be added

 

You have to add it at the end of the task (not at the end of the note) with an " in " in front of it.

The other stuff like next monday etc will be added soon.

Edited by Northdude
graphorce likes this

Share this post


Link to post

Sorry, I made a mistake. Truth is that it's working, but just with tags which already existed in Things. When I tried it the first time, nothing happend because I tested it with a random word. So if you use existing tags, it will work.

 

Sweet, just tried it and it works.  Thanks!

Share this post


Link to post

Ok, I added days, weeks, months and years. It should work like this:

This will be added in 7 days::Alfred is great

 

It creates a task with

This will be added

 

You have to add it at the end of the task (not at the end of the note) with an " in " in front of it.

The other stuff like next monday etc will be added soon.

 

Just tried this and it works great, thanks a lot! :) 

Share this post


Link to post

added "on mach 12" etc.

The last version was a bit buggy so it would be good to use the new one.

Edited by Northdude

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now