beepDuration

Sets the length of the sound played by the beep command.

# Metadata

Platforms: desktop, server OS: linux Introduced: 1.0 Security:

# Syntax

set the beepDuration to milliseconds

# Examples

set the beepDuration to 2000 -- two seconds

set the beepDuration to myBeep * 1000

# Description

Use the beepDuration property to vary the length of the beep, in order to increase or decrease its urgency.

Set the beepDuration to -1 to use the default system setting.

The beepDuration has no effect on Windows, and on some Unix which don't allow changing the beep length.

# Tags

# See

- **command:** beep - **glossary:** property, Windows, Unix, command - **keyword:** default, integer