Go to the first, previous, next, last section, table of contents.


WatchTHOR


----------------------------------------------------------------------
                              WatchTHOR

     Copyright © 1995 Ultima Thule Software, All Rights Reserved.

                        Author: Petter Nilsen
----------------------------------------------------------------------

WatchTHOR  is a small notification program to be used with THOR 2.0 or
higher  to  notify  you  or start a specific program when new messages
arrive  in a conference.  It is pure and can be made resident.  It can
only  be run from shell.  WatchTHOR has no code to handle startup from
Workbench,  so  do NOT start it from Workbench!  It was never meant to
be  a  do-it-all program for notification, someone else can make that.
However,  since  several  users has requested such a possibility and I
had  2  hours of free time, I decided to make something.  Whenever the
developerkit  is  made  available,  I'll  make  the source code public
domain.  But until that happens, WatchTHOR is freely distributable but
NOT in the public domain.

<insert standard disclaimer here>

WatchTHOR accepts the following arguments:

SYSTEMNAME
~~~~~~~~~~
The name of the system to watch.

CHECKDELAY
~~~~~~~~~~
The number of minutes between each check. 

Default: 5

CONFERENCE
~~~~~~~~~~
The name of the conference to check.

Default: EMail

RUNCOMMAND
~~~~~~~~~~
The command to run when new messages has arrived in a conference.
No requester will open.

Example:

1> watchthor "news&mail" checkdelay 5

This  command  line  will  check  for  new  messages  in EMail every 5
minutes,  and  bring  up  a requester on the frontmost screen with how
many new messages that arrived.

1> watchthor "news&mail" checkdelay 5 runcommand "dsound NewMail"

Will  do  as  the  example  above, except that it will run the program
dsound with "NewMail.iff" as argument.

- Petter Nilsen (pettern@thule.no), October 29th 1995


Go to the first, previous, next, last section, table of contents.