[Remind-Fans] same formatting for numerous entries
hymie at lactose.homelinux.net
hymie at lactose.homelinux.net
Thu Oct 16 10:07:01 EDT 2014
"David F. Skoll" writes:
>You could simplify those lines to:
>
># Remember how many reminders have fired so far
>SET n $NumTrig
Wow. Now that I know to look for NumTrig, it's right there in the man
page. "Suppose you wish to shade in the box of a PostScript calendar
whenever a holiday is triggered."
>REM Mon 15 Jan SCANFROM [trigger(today()-7)] MSG Martin Luther King b'day
>OMIT [trigger(trigdate())]
>
>REM Mon 1 Sep SCANFROM [trigger(today()-7)] MSG Labor Day
>OMIT [trigger(trigdate())]
>
># Now check for shading. It's fine to shade *today* because
># this is only relevant for calendars.
>IF $NumTrig > n
> # At least one triggered!
> REM SPECIAL SHADE 150
>ENDIF
Thanks.
--hymie! http://lactose.homelinux.net/~hymie hymie at lactose.homelinux.net
More information about the Remind-fans
mailing list