|
Background
Do you need to be reminded of appointments or sporting events or special TV shows
that you don't want to miss? If so, then this script is for you.
Simply list your events in a text file, and this script will remind you every day.
The Script
This script opens a text file, and looks for events with today's date. Multiple events are okay.
It then displays a list of events in a message box.
eventrun.txt (3KB)
eventlist.txt (1KB)
Quick Instructions
Save both of the above files in HomeSeers 'scripts' directory. Create an event in HomeSeer that
runs the 'eventrun.txt' script once every morning. For testing purposes, edit the event list file
and change the date for one or more events to today's date; then run the event manually.
How It Works
First, create a simple text file with a list of events. You can download the above event list to get
you started. Each line contains one event. The syntax of each line is:
YYYY-MM-DD<TAB>event message
Blank lines are okay, and it's definitely fine to have more than one event on a given day.
Second, create an event in HomeSeer that runs the 'eventrun.txt' script once each day.
Both files (the script and the event list) must be in your scripts folder. You can move the
event list file to a different location if you want, just be sure to change the script
accordingly if you do.
Customization Suggestions
This script uses the MsgBox function to display today's events. So you need to be sitting at
the computer to read that. If you might not be at the PC when this happens, but you still
want it to display the message so that you see it when you get back, then I definitely
recommend using Alex Kurz' PView program. It's a great little utility
that I use all the time. You might also consider having it speak the events instead of
display them. Or have HomeSeer e-mail the events to you. Or do all of the above. The
possibilities are endless!
|