Agenda: a reminder tool![]() Rui Miguel Dias Anastacio <[email protected]>
Rui Anastacio is a system analyst/programmer at UNISYS/M&P in
Lisbon,Portugal, working mainly with Oracle databases. He has
experience with many languages like C++ and Cobol, and some graphics
libraries like Motif and Qt.
Agenda is divided in two scripts written in Tcl/Tk. The availability of this language on a wide variety of platforms makes it possible to run this application in many environments. For more information on Tcl/Tk refer to Scriptics home page at: <http://www.scriptics.com> or The Tcl/Tk Consortium at <http://www.tclconsortium.org>. Downloading, Installing and Configuring Agenda To download Agenda go to <http://www.geocities.com/SiliconValley/6333/agenda>. This is the official, and only, site. Download the files Readme, agenda, and agenda_chk. A brief description of each follows:
To install and configure Agenda follow these three steps: Step 1
Step 2 Copy the modified scripts to some directory in your path. Step 3 Edit the startup procedure of your machine to call agenda_chk. This way your machine will inform you of the schedule at startup. You can call agenda_chk any other time. Note that the first line of each script has a reference to the wish interpreter. Though usually installed in /usr/local, this might not be the case. If not, you have to change this line appropriately. Working with Agenda Now we are ready to go. Let's start by calling the Agenda editor. You should see a window with two buttons on top, about and quit, and four buttons on the bottom, add, edit, mark/unmark for removal, and write. In the middle is the list of events in the event file. It should be empty now. Let's add an event. Pressing add will pop up a window requesting the event data: ? Event: the name of the event. For our tour type "Ana's Anniversary." ? Day: the day of the event. Let's assume it's February 12. Type 12. ? Month: the month: Type 2 ? Year: Any year should do. Type an asterisk (symbol *). The asterisk can be used in the day and month fields, too. When agenda_chk finds this symbol, it replaces it with the current day/month or year. ? Before: number of days before the event you should be notified. For example, if you type 5, then you are notified from day 7 (12-5) on. (This gives you time to buy Ana her present.) ? After: number of days after the event you should still be notified. If you type 2, you will be notified until day 14. (In case you don't turn on the computer until the 14th, you can always call Ana and make up a tale.)
? Command: command to run. Let's say you have a playmidi program and a birthday.wav sound file. Type "playmidi birthday.wav". This can be very useful for periodic tasks like backups or other system maintenance. ? Comments: any comments needed. Just type "Buy her something nice." Because the separator used in the event file is the comma, be sure never to use it in the fields described above. Press OK to add the event. It should appear in the list. As an exercise, add two or three more events that should be noted today. To edit, just press the button. To delete, mark it as deleted (D). Finally, press the write button to actually write the list to the event file. Now let's call Agenda_chk to check the events. If any of those extra events you supposedly added is correct, you should have something on the list. Events with an * at the beginning have extra comments. Double click on them to see the comments.
The File Format The format is as follows: Day:month:year:before:after:action:command:event
In the action field we can find the letters c, o, or x if the
flags cyclic, once, or don't show are on respectively. Should you want
to write more about an event, just terminate the line with a backslash
and continue on the following line. Several lines are permitted, just
terminate them with the backslash. Note: use a \ only if there is
another line to come. Some examples
10:6:*:0:0:c:Portugal Day Some Interesting Events Next are some ideas worth looking at:
*:*:*:0:0:c:show_joke random:Joke a Day The Future of Agenda The future will be decided mainly by the acceptance of this application. If I have enough encouragement, I will try to work on it some more. If you like this application and find it useful, let me know. Send me mail with some nice words. Contributions are welcome. If you have new ideas for Agenda, more features, bug reports, etc., send them in. Another way to contribute is by building lists of events and distributing them. For example you could compile all the social events of your city and distribute it. This could boost your social life.
|
![]() First posted: 17th February 1999 jr Last changed: 17th February 1999 jr |
|