Difference between revisions of "Sound"

From Wiki
Jump to: navigation, search
(Example: Applying template to note)
(Applying templates (header, body, footer))
Line 1: Line 1:
__NOTOC__
+
{{command header|Miscellaneous}}
== sound ==
+
 
'''Miscellaneous'''
+
{{body|sound [filename]|The [[sound]] command plays a wave file or the SystemDefault beep.}}
=== Synopsis ===
+
 
[[sound]] [filename]
+
  
=== Description ===
 
The [[sound]] command plays a wave file or the SystemDefault beep.
 
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
Line 30: Line 27:
  
  
----
+
{{footer}}
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Miscellaneous |Miscellaneous ]]
+
|}
+

Revision as of 04:59, 26 September 2005


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:


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

Main Page Documentation