Difference between revisions of "Sound"
From Wiki
Panther.sn (Talk | contribs) |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{command header|Miscellaneous}} | |
| − | + | ||
| − | + | {{body|sound [filename]|The [[sound]] command plays a wave file or the SystemDefault beep.}} | |
| − | + | ||
| − | [[sound]] | + | |
| − | |||
| − | |||
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
| Line 16: | Line 13: | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | + | {{Note|For File Use: | |
| + | |||
| + | |||
| + | If the sound file is in a directory which exists in your dos PATH environment variable, you do not need to include a full path. Try this: | ||
| + | |||
| + | sound chimes.wav | ||
| + | |||
| + | |||
| + | You should hear the windows chimes sound. Sound will also accept absolute paths. | ||
| + | |||
| + | sound c:\windows\media\chimes.wav}} | ||
| − | |||
| − | + | =See Also= | |
| − | + | {{Miscellaneous}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 12:23, 13 September 2007
Synopsis
sound [filename]
Description
The sound command plays a wave file or the SystemDefault beep.
Example
if #charghost = YES
{
sound
halt
}
| Note: | For File Use:
sound chimes.wav
sound c:\windows\media\chimes.wav |
See Also
Miscellaneous
- Miscellaneous commands
| display | Shows a message |
| execute | Executes an external program |
| linesPerCycle | Sets the execution speed |
| set | sets a variable to a value (variable assignment) |
| send | Sends a HTTP request to a server and runs the code that is returned |
| shutDown | Shuts your computer down |
| sound | Plays a wave file or the SystemDefault beep |
| str | performs a operation on a string |
| tile | retrieves information about tiles |