On Thu, 16 Oct 2014 08:32:17 -0400 [email protected] wrote: > rem mon 15 jan scanfrom [trigger(today()-7)] satisfy 1 > rem [trigger(trigdate())] msg martin luther king b'day > rem [trigger(trigdate())] SPECIAL SHADE 150 > omit [trigger(trigdate())]
You could simplify those lines to: # Remember how many reminders have fired so far SET n $NumTrig 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 NOTE: You may need a recent version of Remind for the samples above to work. Regards, David. _______________________________________________ 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
