Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
Command Definitions 13
Beep 2
The Beep command plays the alert sound for the Macintosh. It is the only
command provided by the Beep scripting addition.
SYNTAX
beep [ numberOfBeeps ]
PARAMETER
numberOfBeeps
The number of times to play the alert sound. If you omit
numberOfBeeps, the alert sound is played once.
Class: Integer
Default Value: 1
RESULT
None
EXAMPLES
beep
beep 3
NOTES
The user can cancel a Beep command—for example, if the value of the
numberOfBeeps parameter is large—by typing Command-period or pressing
the Esc key.