[Remind-Fans] Commenting Out Only Part of Command (or, How to Handle Recurring To-Dos)

David F. Skoll dfs at roaringpenguin.com
Sat Aug 30 16:21:47 EDT 2008


Mike Harris wrote:

> REM September 30 2008 *1 #*38# MSG This is a task you've not done yet,
> but when you do it, comment out the *1 and uncomment the *38 so that
> it'll appear 38 days from today.%

You can often achieve evil hacks like this with expression pasting:

REM September 30 2008 *[iif(0,1,38)] MSG ...

Just change the "0" to a "1" as required; see the man page for info
on the IIF function.  To make it a bit more self-documenting, you might
want to define variables "todo" and "done" appropriately rather than using
"0" and "1".

Regards,

David.



More information about the Remind-fans mailing list