Documentation

#BEEP

BEEP

Syntax: #BEEP value
Related: #PLAY

Plays the current beep sound. If you specify a numeric value, then the corresponding windows event is played instead. The default beep sound has a value of zero.

Note that TeSSH does not pause while the sound is playing. Thus, playing two beeps in a row will only sound one beep, since the first one is still playing when you start the second. To play two beeps, use an #ALARM command to insert a delay.

BEEP examples

#BEEP 16
play the sound for windows event 16

#BEEP;#ALARM {+.5} {#BEEP}
sounds two beeps with a 1/2 second delay. Note that TeSSH continues to process other events during the delay, so this won't slow you down.

Add comment

Login or register to post comments