home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / timealrm.zip / TIMEALRM.TXT < prev    next >
Text File  |  1995-09-09  |  3KB  |  96 lines

  1.  
  2. Timer for OS/2 V1.0 and Alarm for OS/2.
  3. by Stu Mark. 9/8/95
  4. You can get in touch with me at nyti: 914-368-2819.
  5.  
  6. Description:
  7. ------------
  8.  
  9. Timer:
  10. ------
  11.   Timer and Alarm are two simple OS/2 programs that serve as simple defer
  12. the execution programs. I wrote them out of need, because I forget to
  13. take the chicken out of the oven after two hours.
  14.   The idea is, you start a timer, set it to go off in some amount of time
  15. and it'll beep you when it's done, or you can have it run a program.
  16.  
  17.   The syntax for timer is: Timer [hh:][mm:]ss [programname [params]]
  18.  
  19.   Ex: Timer 2:30
  20.   Result: The computer will beep after 2 minutes, 30 seconds. (see known bugs)
  21.  
  22.   Ex: Timer 1:2:30
  23.   Result: The computer will beep after 1 hour, 2 minutes and 30 seconds.
  24.  
  25.   Ex: Timer 70
  26.   Result: The computer will beep after 1 minutes and 10 seconds.
  27.  
  28.   Ex: Timer 10 pmseek.exe
  29.   Result: The computer will run pmseek after 10 seconds. (must have .exe.)
  30.  
  31.   Ex: Timer 10 cmd.exe /C play file=wav.wav
  32.   Result: The computer will play a wav file after 10 seconds. (must have
  33.           /C to run something in a cmd shell.)
  34.  
  35.   I think you get the idea. Screw around with it to see what works.
  36.  
  37. Alarm:
  38. ------
  39.   Same idea as timer, but it trips at a certain time, as opposed to after
  40. a duration.
  41.  
  42.   The syntax for alarm is: Alarm hh:mm[a|p] [programname [params]]
  43.  
  44.   Ex: Alarm 12:00a
  45.   Result: The computer will beep at midnight.
  46.  
  47.   Ex: Alarm 12:00p
  48.   Result: The computer will beep at noon.
  49.  
  50.  
  51. Known Bugs:
  52. -----------
  53.   Timer has a bug where it actually waits one second too long. You can test
  54. this by doing Timer 1 and watching that it waits a second on 1 and then waits
  55. a second on 0.
  56.   I have no intention of fixing this, because if you're looking for an
  57. accurate timepiece, buy an atomic clock. I hear they go for only $1000 now.
  58.  
  59.   Alarm has a problem, but I can't remember what it is. It's something real
  60. stupid though, so don't worry about it.
  61.  
  62. Unknown Bugs:
  63. -------------
  64. I don't know of any.
  65.  
  66. GNU:
  67. ----
  68.   I don't like the GNU people because one of them took my friend's program,
  69. changed all the copyright info, and put it up under GNU licensing under his
  70. own name. This is a poor example of the GNU concept, morals of some excuses
  71. for people, and people who should not call themselves programmers.
  72.   For this reason, I do not ship source. But I leave the debugging info in.
  73.  
  74.  
  75. Endnote:
  76. --------
  77.   If you have any ideas of stuff to change, add, or whatever. Give nyti a
  78. ring or email me at Stu Mark@nyti.uncnsrd.org
  79.  
  80.  
  81. [Spindoctor] /-\|
  82.  
  83.  
  84. Hi From Stu:
  85. ------------
  86. Coalition to change the "Hello World" program to the "Hi From Stu" program, '95.
  87.  
  88. As a side note, the first time I ever played with the production release of
  89. Windows 95, I crashed it in 38 seconds, and I hadn't started trying yet.
  90.  
  91. Oh Stu. OS/2. Hmmm.
  92.  
  93. OS/2 for a long time. (every time they say 'forever', it goes away real quick.
  94.                        Anybody remember the Apple //c forever?)
  95.  
  96.