home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 012 / pcedutil.arc / ALARM.DOC next >
Encoding:
Text File  |  1986-04-16  |  4.4 KB  |  115 lines

  1.           ALARM command
  2.  
  3.           Purpose
  4.  
  5.           Allows you  to set up to three time alarms.  At the desired time,
  6.           ALARM will briefly interrupt whatever  you  are  doing,  sound an
  7.           audio alarm, and display optional text.
  8.  
  9.           Format 
  10.  
  11.           ALARM [STATIC] hh:mm[:ss] [text]
  12.           ALARM mm [text]
  13.           ALARM LIST
  14.           ALARM CANCEL n
  15.  
  16.           Install
  17.  
  18.           To  install  ALARM,  just  ensure  that  the file ALRMINST.COM is
  19.           available on your disk and type ALRMINST at the DOS  prompt (PCED
  20.           must be  loaded, of course).  ALRMINST will install the new ALARM
  21.           command as a PCED  user-installed command.   You may  wish to put
  22.           the  ALRMINST  command  in  your  AUTOEXEC.BAT file so that it is
  23.           always available.
  24.  
  25.           You can use the new command by typing  ALARM (and  its parameters
  26.           as described below) at the DOS prompt, or in a DOS batch via XCED
  27.           ALARM.  The file ALRMINST is not needed after it has been loaded.
  28.  
  29.           ALARM uses a bit over 2K bytes of memory when installed.
  30.  
  31.           Remarks
  32.  
  33.           The first form of the ALARM  command allows  you to  set an alarm
  34.           for a  specific time.   For  example, to  set an  audio alarm for
  35.           10:30 AM, type:
  36.  
  37.                ALARM 10:30
  38.  
  39.           If no second is present, 00 is assumed; thus, "ALARM 10:30" means
  40.           "10:30:00".   You may optionally specify the exact second ("ALARM
  41.           10:30:45"); the alarm is accurate to within a  few seconds.   You
  42.           may also  optionally specify  a small  amount of text information
  43.           (the total  length of  all parameters  to ALARM  cannot exceed 40
  44.           characters).  For example:
  45.  
  46.                ALARM 15:45 Start dinner
  47.  
  48.           (Note that ALARM uses a 24-hour clock.)
  49.  
  50.           At  the  specified  time,  ALARM  will  interrupt  the computer's
  51.           present activity, display a small window that contains  the alarm
  52.           time and  any text  that you  specified, and sound an audio alert
  53.           tone.  The window will remain on the screen for about 15 seconds,
  54.           or until  you press  any key (you must wait until the beeping has
  55.  
  56.  
  57.  
  58.  
  59.  
  60.           ALARM command
  61.  
  62.           stopped).  The keystroke used to clear the window will  be passed
  63.           along to  the current  program unless it is a "modifier" key like
  64.           Shift, Ctrl, Alt, CapsLock, etc. 
  65.  
  66.           If you do not  press a  key within  about 15  seconds, the window
  67.           will disappear  and the active program will continue.  ALARM will
  68.           assume that you have missed the  alarm,  and  the  next  time you
  69.           press a  key, the  missed alarm  will be displayed for about five
  70.           seconds.  If you miss more than one alarm, only the last one will
  71.           be redisplayed.
  72.  
  73.           If the ALARM time is preceded by the word STATIC:
  74.  
  75.                ALARM STATIC 16:15 Time to jog
  76.  
  77.           the alarm  will be  repeated daily  at the same time.  Of course,
  78.           this will be effective only if you leave your computer  on at all
  79.           times.
  80.  
  81.           The second  format allows  you to set an alarm for some number of
  82.           minutes from the current time.  For example,
  83.  
  84.                ALARM 25 Get clothes from dryer
  85.  
  86.           will set an alarm for 25 minutes from now.
  87.  
  88.           The third format (ALARM LIST) lists all alarms presently set; you
  89.           can have  up to three alarms set at the same time.  Each alarm in
  90.           the list is numbered (1 through 3); the alarms are  always listed
  91.           in chronological order.
  92.  
  93.           The fourth  format (ALARM  CANCEL n)  allows you to cancel one of
  94.           the alarms currently set.  The  number 'n'  is the  alarm's index
  95.           number as obtained from LIST.  For example, suppose that an ALARM
  96.           LIST displays the following:
  97.  
  98.                1 10:20:00 Meet with PGA in 10 min
  99.                2 11:55:00 Lunch at 12:15, leave now
  100.                3 16:30:00 Leave for airport in 15
  101.  
  102.           If you want to cancel the lunch alarm, just type:
  103.  
  104.                ALARM CANCEL 2
  105.  
  106.           NOTE: if the alarm time is earlier than  the current  time, it is
  107.           assumed to refer to the following day.  For example, an
  108.  
  109.                ALARM 08:00 Get out of bed
  110.  
  111.           entered at 1 P.M. is assumed to mean 8 AM the following morning.
  112.  
  113.           alarm 1.12/cjd/041686
  114.  
  115.