David F. Skoll wrote:
> On Mon, 31 Jan 2011 18:59:10 +0100
> Jens Mueller <[email protected]> wrote:
> 
> > Suppose I have
> > rem 10 jan 2011 *1 +14 msg [magic_function()] Do this %a
> > rem 2 feb 2011 *1 +14 msg [magic_function()] Do that %a
> 
> > magic_function should compute the difference between the date given in
> > the rem command and now in days.
> 
> There's no way to get at the "10 jan 2011" part of the REM command
> because the *1 ensures that trigdate() will always be today (or in the
> future.)
> 
> You'll need something like this:
> 
> REM 10 Jan 2011 *1 +14 MSG ['2011-01-10' -today()] Do this %a
> REM  2 Feb 2011 *1 +14 MSG ['2011-02-02' -today()] Do that %a
> 
> Ugly... but it works.

I see. So I have to write it in the rem command.
I'll guess even using IFTRIG one cannot work around it. Because
basically I want reminders that always trigger but allow me computing
the difference in days.

Jens
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to