Difference between revisions of "Sound"

From Wiki
Jump to: navigation, search
 
(Example: Applying template to note)
Line 16: Line 16:
 
</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''
+
{{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}}
  
''You should hear the windows chimes sound. Sound will also accept absolute paths.''
 
  
''sound c:\windows\media\chimes.wav''
 
 
----
 
----
 
{|
 
{|

Revision as of 16:06, 26 August 2005

sound

Miscellaneous

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



Main_Page Documentation

Miscellaneous