Beep

From AutoIt Wiki

Jump to: navigation, search

Beep plays a beep back to the user. Adapted from AutoIt docs.

Contents

[edit] Syntax

Beep([frequency [, duration]])

[edit] Parameters

frequencyHertz frequency of beep.(Optional)
durationLength of beep in milliseconds.Default of 1000ms.(Optional)

[edit] Frequency

The frequency may be set between 37 and 32767 inclusively. 500 Hz by default.

[edit] Return Value

Beep() always returns 1 regardless of success or failure.

[edit] Example

Beep(200,500)

[edit] Related Functions

SoundPlay

Personal tools