home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / pm-app.zip / readme.txt next >
Text File  |  1997-04-29  |  2KB  |  36 lines

  1. STARTAPP and STOPAPP are REXX scripts that start and stop OS/2 PM applications.
  2. These two command files were specifically written to start and stop KAT.EXE, which is
  3. part of the KOPYKAT remote access software package published by Hilgraeve.
  4.  
  5. These two scripts are handy if you would like to share access to a computer with a 
  6. line that is also used for voice. You can set start and stop times and make the
  7. computer accessible for a certain time period during a day and them freeing it for voice
  8. access.
  9.  
  10. STARTAPP.CMD requires REXXUTIL.DLL which comes with OS/2. STOPAPP.CMD requires APMT, an 
  11. Automated PM Tester/Driver which is available where REXX add-ons reside.
  12. It is also on IBM's Developer Connection CD's.
  13.  
  14. Here is how it works: Place these two CMD files onto the same drive as the application
  15. you want to start. I put them into the root directory. Edit the start and stop times
  16. inside the STARTAPP and STOPAPP (just provide hours and minutes). Run the STARTAPP.CMD
  17. in an OS/2 Window session. This program will check the time every second and if the
  18. start time matches the current time, then STARTAPP will start KAT in auto-answer
  19. mode, start STOPAPP and close itself. STOPAPP will then run similarly and when the stop
  20. time matches the current time, it will close KAT.EXE and make certain that it is closed
  21. by trying three times if the application did not close. This proved to be necessary as for some
  22. reason the close command of the APMT routine does not always work and will therefore
  23. leave KAT.EXE running and tie up the phone line. STOPAPP will in turn start STARTAPP again
  24. and close itself. This will repeat itself until one of these programs is manually closed by
  25. pressing Q or q. Both programs will also display the current time every minute.
  26.  
  27. These two scripts can easily be changed to run any other PM application. If you have your own
  28. scheduler, then you could start KAT.EXE from this scheduler and start STOPAPP (with the scheduler)
  29. just before you want KAT.EXE stopped. Edit out the command where it starts STARTAPP as it is not
  30. required.
  31.  
  32. If you have any questions or comments, e-mail 73322.2045@compuserve.com or visit my homepage at
  33. http://ourworld.compuserve.com/homepages/aschw
  34.  
  35. STARTAPP.CMD and STOPAPP.CMD have been released to Public Domain - feel free to use and modify this code to your content.
  36.