home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / win32flg.zip / WINFLAG.TXT < prev    next >
Text File  |  1995-05-23  |  3KB  |  80 lines

  1. /*  READ ME */
  2.  
  3. This archive contains two programs.
  4.  
  5. ZEROFILE.EXE is a dos 32 based program that will create a ZERO length file
  6. that can be used as a flag file. It isn't neccessary for WinFlag use.
  7.  
  8. The parameters are ZEROFILE Path\Filename.Ext or type the program name for
  9. a refresher on how to create the file.
  10.  
  11. WINFLAG.EXE is a Win32 based program that has a ten second timer routine in
  12. it, and every ten seconds it will check for a flag file. It tries to open
  13. the file. If it is successful, then it knows that the flag is on. If the
  14. window is an icon, it is brought to the top of the Z window order.
  15.  
  16. When WINFLAG.EXE boots, it will always default to a background process.
  17.  
  18. There are two methods to tell WINFLAG.EXE where to look for the flag file.
  19.  
  20. Use the properties under the Program Manager `FILE'. Under Command Line should
  21. be the path for WINFLAG and after the .EXE add a space and then the path for
  22. the flag file.
  23.  
  24. An INI file can be used. This is created or modified from within the program
  25. itself....select File and then Set Flag. This will create/write to the INI
  26. file. WinFlag will then minimize itself and wait for the flag.
  27.  
  28. This will assist if the machine does a reboot and WinFlag is in the STARTUP
  29. folder, as it then uses the INI file value for the flag.
  30.  
  31. An incorrect path will cause the flag to never be found, since no verification
  32. is done on the path supplied...only if there is some kind of text for a flag
  33. filename line. This allows you to have the flag file of your choice.
  34.  
  35. As example for command line use:
  36.  
  37.    C:\WINNT35\WINFLAG.EXE C:\MAIL\INBOUND\FLAGFILE.TXT
  38.  
  39. or for dialog entry:
  40.  
  41.    C:\MAIL\INBOUND\FLAGFILE.TXT
  42.  
  43.          ****************************************************
  44.          A command line path will over ride an INI file name.
  45.          ****************************************************
  46.  
  47. The filename path can be up to 63 characters in length.
  48.  
  49. The program will delete the flag file by using the menu command. If the file
  50. is deleted, then the program will return to being a background process and
  51. wait for the next flag to find. A message box appears if the file can't be
  52. deleted.
  53.  
  54. The flag file can be any file. It doesn't have to be a zero length file. It
  55. should be noted that if the flag file has any size, exercise caution with
  56. the program menu `delete' command.
  57.  
  58. The program timer is turned off when the flag is on. If the program window is
  59. minimized, then the timer is turned back on and the window will reappear if
  60. the flag file still exists....see above for the Menu delete command.
  61.  
  62. Error Messages will be given if there is no command line supplied or if the
  63. program can not hook a system timer. These will appear at program boot time.
  64. The main program window will then not go into a background process and will
  65. contain a text line saying what is wrong..ie: no timer or no command line.
  66.  
  67. This program can be used as an accessory item or placed in the auto STARTUP
  68. folder. By having it in the folder for accessories, starting the program will
  69. give you a result on a flag after a ten second period has passed. If the
  70. program window disappears on boot, then the ini filename is used or there is
  71. a command line value.
  72.  
  73. Enjoy!
  74.  
  75. Patrick Cohan,
  76.  
  77. PMC Systems Software.
  78. May 23nd, 1995
  79. 
  80.