[Users] create Taskwarrior task from within Claws
gour at atmarama.net
Sun Dec 18 10:24:10 CET 2011
On Sat, 17 Dec 2011 16:31:12 +0100
Salvatore De Paolis <iwkse at claws-mail.org> wrote:
> You could go through actions.
> Create a script with your preferred scripting language and makes it
> an action in Claws Mail.
So far I did the following action:
| task add --
which executes the following command:
task add -- description
where 'description' is text which is selected in claws message.
Now, I'd like to extend this action to combine selected text from the
claws message with my dialog input in order to mimic the following cli
task add pri:some_priority pro:some_project + at some_tags -- description
where I'd manually enter:
pri:some_priority pro:some_project + at some_tags
while 'description' would be picked from claws' selected text.
I've tried by adding '>' in my action, but somehow I cannot get it.
Any idea how to do it and/or one needs some shell wrapper?
The spirit soul bewildered by the influence of false ego thinks
himself the doer of activities that are in actuality carried out
by the three modes of material nature.
http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Users