home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT214.ZIP / SEBFU40.LZH / BEEP.DOC < prev    next >
Text File  |  1991-09-01  |  7KB  |  232 lines

  1.  
  2.                               B E E P    Ver. 4.0
  3.  
  4.  
  5.                     (C)1989,1990,1991  Scanlon Enterprises
  6.  
  7.  
  8.  
  9.        BEEP is a small batch file utility to aid in announcing the 
  10.        completion of events in a batch file.
  11.  
  12.        Syntax: BEEP /+n /D /K[XC]
  13.  
  14.        ERRORLEVELS: 0FF (255) Program problem (call Author)
  15.                     004       Bad option/parameter
  16.                     000       Everything ok
  17.  
  18.        Where : '+n'    sets the number of beeps to 'n'
  19.                        value of 'n' is in the range of 1 to 9999
  20.                '/D'    sets beep rate to once per second
  21.                '/K'    Exit if key is pressed
  22.                '/KX'   Beep till a key is pressed, no beep count
  23.                '/KC'   Exit if key is pressed and clear buffer
  24.                '/KXC'  Beep till a key is pressed and clear buffer
  25.  
  26.        Defaults: '/+n'   is set to 1 beep
  27.                  '/D'    defaults to beep 18 times per second
  28.  
  29.        Usage  : BEEP
  30.  
  31.        Simply beeps one time, returning to the batch file.
  32.  
  33.        Used as a simple announcment for short events.
  34.  
  35.                 BEEP /+2
  36.  
  37.        Beeps 2 times at the default rate of 18 times per second
  38.  
  39.        Used as a simple announcment for events which have failed.
  40.  
  41.                 BEEP /+100
  42.  
  43.        Beeps 100 times at the rate of 18 times per second
  44.  
  45.        Use when a long event has completed.
  46.  
  47.                 BEEP /+100 /D
  48.  
  49.        Beeps 100 times at the rate of 1 per second
  50.  
  51.        Use when a long event has completed and you are monitoring for 
  52.        end of cycle randomly.
  53.  
  54.                 BEEP /+100 /D /K
  55.  
  56.        Beeps 100 times at the rate of 1 per second, or untill a key is 
  57.        pressed. Pressing any key stops the beeping.
  58.  
  59.        Use when a long event has completed and you are away but monitor 
  60.        on occasion. Pressing a selected key can determine the next event 
  61.        and halt the beeping
  62.  
  63.       Page 1 of 4
  64.  
  65.                               B E E P    Ver. 4.0
  66.  
  67.  
  68.                     (C)1989,1990,1991  Scanlon Enterprises
  69.  
  70.  
  71.                 BEEP /+100 /D /KX
  72.  
  73.        Beeps at the rate of 1 per second untill any key is pressed. The 
  74.        beep count is ignored.
  75.  
  76.        Use when a long event has completed and you are away for long 
  77.        periods of time. Pressing a selected key can determine the next 
  78.        event and halt the beeping.
  79.  
  80.                 BEEP /+100 /D /KC
  81.  
  82.        Beeps 100 times at the rate of 1 per second, or untill a key is 
  83.        pressed. Pressing any key stops the beeping. The key stroke is 
  84.        then cleared (lost).
  85.  
  86.        Use to announce an event ending and you may be monitoring. 
  87.        Pressing any key halts the beeping, the key is lost.
  88.  
  89.                 BEEP /+100 /D /KCX
  90.  
  91.        Beeps at the rate of 1 per second untill any key is pressed. The 
  92.        beep count is ignored, and the key buffer is cleared befor 
  93.        returning to the batch file (key is lost).
  94.  
  95.        Use when a long event has completed and you are away for long 
  96.        periods of time. Pressing any key halts the beeping. The pressed 
  97.        key is lost.
  98.  
  99.        By using other Batch file utilities such as our INKEY, a selected 
  100.        key may be acted upon when using BEEP with the '/K' option.
  101.  
  102.        If the '/K' option is NOT selected, pressing a key has no effect 
  103.        on terminating the beeping.
  104.  
  105.        The beep count set using option '/+n' is ignored when using the 
  106.        option '/KX' or '/KXC'.
  107.  
  108.  
  109.        EXAMPLES:
  110.  
  111.        {ENDEVENT}
  112.  
  113.                 ECHO OFF
  114.                 CLS
  115.                 EVENT
  116.                 BEEP
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.       Page 2 of 4
  127.  
  128.                               B E E P    Ver. 4.0
  129.  
  130.  
  131.                     (C)1989,1990,1991  Scanlon Enterprises
  132.  
  133.  
  134.        This is a popular method to announce the completion of short 
  135.        events (less than 5 minutes).
  136.  
  137.                 ECHO OFF
  138.                 CLS
  139.                 EVENT
  140.                 IF NOT ERRORLEVEL 1 GOTO XIT
  141.                 BEEP /+2
  142.  
  143.        This variation is great for announcing an event which failed, 
  144.        providing the event sets the errorlevel used by batch files.
  145.  
  146.                 ECHO OFF
  147.                 CLS
  148.                 EVENT {long one}
  149.                 BEEP /D /KX
  150.  
  151.        This is popular for events lasting long periods of time. Simply 
  152.        walk away, and listen for the beeping when done.
  153.  
  154.        By using some of our other utilities, you can create a very 
  155.        powerful batch file.
  156.  
  157.                 ECHO OFF
  158.                 CLS
  159.                 EVENT
  160.                 MENU             {Display choices}
  161.                 BEEP /D /KX
  162.                 GETNUM           {Function to get numeric chars}
  163.                 FOR %%F IN (0 1 2 3 4 5 6 7 8 9) DO GOTO FN%%F
  164.  
  165.        Follow this last line with your functions for the chosen 
  166.        selections.
  167.  
  168.                 :FN1
  169.                 {Batch file commands for function 1}
  170.                 :FN2
  171.                 {Batch file commands for function 2}
  172.  
  173.                 ....ETC...
  174.  
  175.        For additional usage and information on using these utilities see 
  176.        the file SEBFU.DOC or BATUT.DOC.
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.       Page 3 of 4
  190.  
  191.                               B E E P    Ver. 4.0
  192.  
  193.  
  194.                     (C)1989,1990,1991  Scanlon Enterprises
  195.  
  196.  
  197.  
  198.                              O R D E R     F O R M
  199.  
  200.  
  201.  
  202.  
  203.        BEEP registration ....................................... $1.00
  204.  
  205.  
  206.  
  207.  
  208.        What you get :
  209.  
  210.        Unlimited usage of BEEP, and phone or write in support. You will 
  211.        also be placed on our mailing list for future updates and new 
  212.        products.
  213.  
  214.        We are offering this utility seperate from SEBFU as a favor to 
  215.        users who do NOT wish to use many of the SEBFU utilities.
  216.  
  217.        This utility is automatically registered to you when you register 
  218.        SEBFU as a product (see REG.DOC). Registering SEBFU as a product 
  219.        is a better bargin, as each utility will cost less than $ .25 
  220.        each.
  221.  
  222.  
  223.        Vendors:
  224.  
  225.        You may distribute BEEP seperately, provided this document is 
  226.        distributed as well. Any reasonable fee may be charged.
  227.  
  228.  
  229.        Send your order to : SCANLON ENTERPRISES
  230.                             38354 17TH ST E.
  231.                             PALMDALE, CA 93550
  232.