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 >
Wrap
Text File
|
1991-09-01
|
7KB
|
232 lines
B E E P Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
BEEP is a small batch file utility to aid in announcing the
completion of events in a batch file.
Syntax: BEEP /+n /D /K[XC]
ERRORLEVELS: 0FF (255) Program problem (call Author)
004 Bad option/parameter
000 Everything ok
Where : '+n' sets the number of beeps to 'n'
value of 'n' is in the range of 1 to 9999
'/D' sets beep rate to once per second
'/K' Exit if key is pressed
'/KX' Beep till a key is pressed, no beep count
'/KC' Exit if key is pressed and clear buffer
'/KXC' Beep till a key is pressed and clear buffer
Defaults: '/+n' is set to 1 beep
'/D' defaults to beep 18 times per second
Usage : BEEP
Simply beeps one time, returning to the batch file.
Used as a simple announcment for short events.
BEEP /+2
Beeps 2 times at the default rate of 18 times per second
Used as a simple announcment for events which have failed.
BEEP /+100
Beeps 100 times at the rate of 18 times per second
Use when a long event has completed.
BEEP /+100 /D
Beeps 100 times at the rate of 1 per second
Use when a long event has completed and you are monitoring for
end of cycle randomly.
BEEP /+100 /D /K
Beeps 100 times at the rate of 1 per second, or untill a key is
pressed. Pressing any key stops the beeping.
Use when a long event has completed and you are away but monitor
on occasion. Pressing a selected key can determine the next event
and halt the beeping
Page 1 of 4
B E E P Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
BEEP /+100 /D /KX
Beeps at the rate of 1 per second untill any key is pressed. The
beep count is ignored.
Use when a long event has completed and you are away for long
periods of time. Pressing a selected key can determine the next
event and halt the beeping.
BEEP /+100 /D /KC
Beeps 100 times at the rate of 1 per second, or untill a key is
pressed. Pressing any key stops the beeping. The key stroke is
then cleared (lost).
Use to announce an event ending and you may be monitoring.
Pressing any key halts the beeping, the key is lost.
BEEP /+100 /D /KCX
Beeps at the rate of 1 per second untill any key is pressed. The
beep count is ignored, and the key buffer is cleared befor
returning to the batch file (key is lost).
Use when a long event has completed and you are away for long
periods of time. Pressing any key halts the beeping. The pressed
key is lost.
By using other Batch file utilities such as our INKEY, a selected
key may be acted upon when using BEEP with the '/K' option.
If the '/K' option is NOT selected, pressing a key has no effect
on terminating the beeping.
The beep count set using option '/+n' is ignored when using the
option '/KX' or '/KXC'.
EXAMPLES:
{ENDEVENT}
ECHO OFF
CLS
EVENT
BEEP
Page 2 of 4
B E E P Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
This is a popular method to announce the completion of short
events (less than 5 minutes).
ECHO OFF
CLS
EVENT
IF NOT ERRORLEVEL 1 GOTO XIT
BEEP /+2
This variation is great for announcing an event which failed,
providing the event sets the errorlevel used by batch files.
ECHO OFF
CLS
EVENT {long one}
BEEP /D /KX
This is popular for events lasting long periods of time. Simply
walk away, and listen for the beeping when done.
By using some of our other utilities, you can create a very
powerful batch file.
ECHO OFF
CLS
EVENT
MENU {Display choices}
BEEP /D /KX
GETNUM {Function to get numeric chars}
FOR %%F IN (0 1 2 3 4 5 6 7 8 9) DO GOTO FN%%F
Follow this last line with your functions for the chosen
selections.
:FN1
{Batch file commands for function 1}
:FN2
{Batch file commands for function 2}
....ETC...
For additional usage and information on using these utilities see
the file SEBFU.DOC or BATUT.DOC.
Page 3 of 4
B E E P Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
O R D E R F O R M
BEEP registration ....................................... $1.00
What you get :
Unlimited usage of BEEP, and phone or write in support. You will
also be placed on our mailing list for future updates and new
products.
We are offering this utility seperate from SEBFU as a favor to
users who do NOT wish to use many of the SEBFU utilities.
This utility is automatically registered to you when you register
SEBFU as a product (see REG.DOC). Registering SEBFU as a product
is a better bargin, as each utility will cost less than $ .25
each.
Vendors:
You may distribute BEEP seperately, provided this document is
distributed as well. Any reasonable fee may be charged.
Send your order to : SCANLON ENTERPRISES
38354 17TH ST E.
PALMDALE, CA 93550