[Users] Claws & Taskwarrior (was Re: Limitations of Python scripts)

Gour gour at atmarama.net
Wed Apr 17 22:50:29 CEST 2013


On Wed, 17 Apr 2013 22:24:27 +0200
Holger Berndt <berndth at gmx.de> wrote:

> When something seems of more general interest, I add it to the
> "examples" folder of the plugin distribution.

I've primitive shell script:

#!/bin/sh


read TEXT
test -z "$TEXT" && \
        exit 0

task add $TEXT
exit $?


in order to create Taskwarrior
(http://taskwarrior.org/projects/show/taskwarrior) task based on selected
email message in Claws.

However, I believe the more sophisticated interface could be written (e.g. to
parse the message and select it's Subject line as task's description) and I
have to find a way to solve the other half of equation, iow. to jump to
appropriate message in Claws from within Taskwarrior.

Today I played with a new external (not in core) script for Taskwarrior called
Taskopen (see https://github.com/ValiValpas/taskopen#readme) which enables one
to annotate certain tasks with some URL and then open that URL from within
Taskwarrior, so I wonder how/if this functionality could be used to have
complete 2-way communication between Claws &  Taskwarrior?

I know that e.g. TaskCoach (http://taskcoach.org/) written in wxPython can do
it...

Any hint?


Sincerely,
Gour

-- 
One who restrains his senses, keeping them under full control, 
and fixes his consciousness upon Me, is known as a man of 
steady intelligence.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810





More information about the Users mailing list