beep | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Sounds the system beep. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: wait, play Glossary: Windows, loop, error, execute, OS X Property: beepSound, beepDuration, beepLoudness, beepPitch, playLoudness | ||||||
Description | Use the beep command to get the user's attention. If the numberOfTimes is less than 1, the beep command has no effect (but does not cause a script error). *Cross-platform note:* Windows and OS X do not execute the beep command if it's issued while a beep is playing. This means that if you specify a numberOfTimes on a Windows or OS X system, the user might hear fewer beeps because not all of them are sent to the speaker. To ensure that the user hears a specific number of beeps, use a loop with a wait command (where the wait time is at least as long as the beep sound's duration) after each beep:
| ||||||
Tags | multimedia |