On 31 Jan 2014, at 18:25, Benny Kjær Nielsen wrote: > On 31 Jan 2014, at 19:02, Pedro Lobo wrote: > >>> An idea: >>> I don't know, if its possible, but if it can be, it would be awesome. >>> a) Tag a message @awaiting >>> b) added to Taskaper >>> c) if there is a reply to that message, @done tag is added to the task. >>> (applescript running x-minutes/hours in the background) >> >> Benny could weigh in on this, but maybe setup a smart mailbox for the >> @waiting tag and have a rule run that once that message is replied to, it >> could run a separate command that would add a @done tag. >> >> Benny: Is this possible? Any ideas? > > The main problem is locating the task in TaskPaper. It is likely that > TaskPaper returns some kind of identifier for this purpose, but this then > needs to be stored until it is needed when a reply has been sent. This is > hard to do in a way that would synchronize with the IMAP server (it could be > an IMAP keyword, but I don't think servers work well with a very large number > of keywords). It would probably be better if the task could be located using > the Message-ID of the message. > > So, > > * a smart mailbox with conditions for the keywords @awaiting and `\Answered` > * should have a rule with an action launching a script > * which given the Message-ID of the message matching the conditions would > locate the task and mark it @done. > > The rule should probably also remove `@awaiting` in order to prevent other > installs of MailMate to repeat the action (this cannot be completely avoided > since they might do it at the same time). > > -- > Benny > _______________________________________________ > mailmate mailing list > mailmate@lists.freron.com > http://lists.freron.com/listinfo/mailmate
**@Benny:** This shouldn't be too hard. We can just add a tag **@id(*message_id*)** and then later search for a task with the same message_id. Now would this be the message_id we see in MailMate message view (Msg ID / UID)? **@Nitin:** This would also require that these tasks go into a default file and preferably project. Agreed? Cheers, Pedro Lobo
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate