Hello,
After reading the massive threads about Reminders and CLI scripts, I
thought I would create a VBScript to make life simpler. I've attached
two files, one is the .vbs script itself and the other is a
configuration file. Open UserInfo.dat with your favorite text editor
and fill in the data as required. I have a few entries as examples.
Usage:
1. Keep UserInfo.dat in the working directory of reminder.vbs
a) This means you can have multiple profiles with one script file,
Just play tricks with shortcuts and the Open In directory
2. Compose your message to be sent later. At the beginning of the
subject line, put the send date in the following format:
Subject: [mmdd] My Subject
This is pretty well hard-coded into the script's logic, so you
really must follow this format.
Example: [20010910] Ballgame, tonight!
This message will be sent when the script is run for the first time
on or after September 10, 2001. The Send date will be stripped
from the subject line.
3. Put the message in the Outbox, then move it to your Reminders
folder.
4. Use a standard task scheduler to run the script at regular
intervals
Notes:
The script depends on you having a folder in each account for your
reminders to be held until they are sent. Personally, I created a
folder called Reminders under the Outbox. This is configurable on
a per-account level. Also, you can have multiple reminder folders in
each account. See UserInfo.dat for details.
The script processes files at about 2 per second. This is by design,
since TB claims it is finished before it has completed the task. You
may be able to tweak the Sleep commands to increase speed without
losing accuracy.
This script will not make backups in case of errors. You should back
up your Reminder folders prior to running the script, especially
during the testing period.
This script will also edit the subject line, so be careful when using
PGP signed/encrypted messages. I don't use PGP or S/MIME, so I don't
know/care too much about this point. If it is a problem, let me know
if you can think of a solution.
While time of day handling has been excluded at present, it is
possible to add it later. Also, this script is not adapted to
recurring delayed sending. Again, it is possible to modify this
script to handle that feature as well.
I haven't put in a lot of error correction, so this script can be
fooled fairly easily. I welcome suggestions and tips on how to make
it work better.
--
Thanks,
Januk Aggarwal
Using The Bat! 1.54 Beta/8 under Windows 98 4.10 Build A
I have an imaginary friend who refuses to play with me.
reminder.zip