home *** CD-ROM | disk | FTP | other *** search
/ ANews 1 / AnewsCD01.iso / Internet / Newsgroup / THOR_2.6 / THOR26_API.LHA / WatchTHOR / WatchTHOR.readme < prev   
Text File  |  1997-08-25  |  2KB  |  59 lines

  1. ----------------------------------------------------------------------
  2.                               WatchTHOR
  3.  
  4.    Copyright © 1995-1997 Ultima Thule Software, All Rights Reserved.
  5.  
  6.                         Author: Petter Nilsen
  7. ----------------------------------------------------------------------
  8.  
  9. WatchTHOR  is a small notification program to be used with THOR 2.0 or
  10. higher  to  notify  you  or start a specific program when new messages
  11. arrive  in a conference.  It is pure and can be made resident.  It can
  12. only  be run from shell.  WatchTHOR has no code to handle startup from
  13. Workbench,  so  do NOT start it from Workbench!  It was never meant to
  14. be  a  do-it-all program for notification, someone else can make that.
  15. However,  since  several  users has requested such a possibility and I
  16. had 2 hours of free time, I decided to make something. You may use the
  17. code freely for whatever you like as long as it is THOR related.
  18.  
  19. <insert standard disclaimer here>
  20.  
  21. WatchTHOR accepts the following arguments:
  22.  
  23. SYSTEMNAME
  24. ~~~~~~~~~~
  25. The name of the system to watch.
  26.  
  27. CHECKDELAY
  28. ~~~~~~~~~~
  29. The number of minutes between each check. 
  30.  
  31. Default: 5
  32.  
  33. CONFERENCE
  34. ~~~~~~~~~~
  35. The name of the conference to check.
  36.  
  37. Default: EMail
  38.  
  39. RUNCOMMAND
  40. ~~~~~~~~~~
  41. The command to run when new messages has arrived in a conference.
  42. No requester will open.
  43.  
  44. Example:
  45.  
  46. 1> watchthor "news&mail" checkdelay 5
  47.  
  48. This  command  line  will  check  for  new  messages  in EMail every 5
  49. minutes,  and  bring  up  a requester on the frontmost screen with how
  50. many new messages that arrived.
  51.  
  52. 1> watchthor "news&mail" checkdelay 5 runcommand "dsound NewMail"
  53.  
  54. Will  do  as  the  example  above, except that it will run the program
  55. dsound with "NewMail.iff" as argument.
  56.  
  57. - Petter Nilsen (pettern@thule.no), August 25th 1997
  58.  
  59.