[Remind-Fans] move reminder if Monday is a holiday
Dianne Skoll
dianne at skoll.ca
Mon Oct 14 12:01:54 EDT 2019
n 10/14/19 5:46 AM, Ian! D. Allen wrote:
[...]
My garbage day is a Wednesday, and I use this sequence, which is a
little fancier than necessary:
######################################################################
# Garbage
fset _garbhol(x) wkdaynum(x) == 3 && slide(x-3, 3) != x
fset _garbdel() iif($Tw != 3, " (Delayed)", "")
REM 7 November 2012 *14 AFTER OMITFUNC _garbhol MSG Black Box[_garbdel()]
REM 31 October 2012 *14 AFTER OMITFUNC _garbhol SPECIAL COLOR 60 0 0
Garbage[_garbdel()]
REM 31 October 2012 *14 AFTER OMITFUNC _garbhol SPECIAL COLOR 0 0 160 Blue
Box[_garbdel()]
######################################################################
For Thursdays, change the 3 in the "fset" lines to 4, and add one
to the start date in the three REM lines.
My October calendar looks like this:
+----------------------------------------------------------------------------+
| October 2019 |
+----------+----------+----------+----------+----------+----------+----------+
| Sunday | Monday | Tuesday |Wednesday | Thursday | Friday | Saturday |
+----------+----------+----------+----------+----------+----------+----------+
| | |1 |2 |3 |4 |5 |
| | | | | | | |
| | | |Black Box | | | |
| | | | | | | |
+----------+----------+----------+----------+----------+----------+----------+
|6 |7 |8 |9 |10 |11 |12 |
| | | | | | | |
| | | |Garbage | | | |
| | | | | | | |
| | | |Blue Box | | | |
| | | | | | | |
+----------+----------+----------+----------+----------+----------+----------+
|13 |14 |15 |16 |17 |18 |19 |
| | | | | | | |
| |Thanksgivi| | |Black Box | | |
| |ng Day | | |(Delayed) | | |
| | | | | | | |
+----------+----------+----------+----------+----------+----------+----------+
|20 |21 |22 |23 |24 |25 |26 |
| | | | | | | |
| | | |Garbage | | | |
| | | | | | | |
| | | |Blue Box | | | |
| | | | | | | |
+----------+----------+----------+----------+----------+----------+----------+
|27 |28 |29 |30 |31 | | |
| | | | | | | |
| | | |Black Box | | | |
| | | | | | | |
+----------+----------+----------+----------+----------+----------+----------+
Regards,
Dianne.
More information about the Remind-fans
mailing list