> On 19/01/2014, at 22.30, "Benny Kjær Nielsen" <[email protected]> wrote:
>
>> On 18 Jan 2014, at 21:55, Max Rydahl Andersen wrote:
>>
>> Last week I had the thought it would be really nice if I could easily see
>> the emails that were related to the meetings that are in my calendar the
>> next 24-48 hrs.
>>
>> I think I can get the list of invitees email from ical/busycal via
>> applescript...which made me think it would be really useful being able to
>> specify an applescript function as a condition in mail mate.
>
> Well, just any scripting language. I guess what you are asking for is an
> alternative “is in” comparison where the argument is a set of values
> generated by an external script.
Exactly.
>> Could use that for a bunch of other things too :)
>
> Yes, I've considered something like this for providing access to groups in
> the Address Book.
Yup.
>
>> WDYT ?
>
> The tricky part is when to compute a given set and/or how often it should be
> recomputed (manually/automatically). I imagine one could somehow provide a
> list of sets and the scripts needed to compute them. This could include some
> way to trigger MailMate to recompute the set, e.g., MailMate could be told to
> watch some file for changes.
Yeah I was wondering same issue. How often to call the function.
I would be fine have it just recalculate on mm startup and then afterwards on
an explicit "refresh" - maybe allow it to be configured to time out.
Maybe have a the return value be a map/dictionary and allow something like:
{
Value: { "max@universe", "[email protected]", "[email protected]" }
Time-to-live: { "5min" }
}
Overtime you could add more complex keys for handling file watch etc.
Time-to-live would be in same format as send later.
> Just thinking out loud.
Ditto.
>
> --
> Benny
> _______________________________________________
> mailmate mailing list
> [email protected]
> http://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
http://lists.freron.com/listinfo/mailmate