Uniface Underground -> Undocumented.Features.Only. |
Name | sound play a sound file |
||||||||
Synopsis | sound [/] [option] [soundfile]
[option] := play | loop | stop [soundfile] := [filename] | @[filename] |
||||||||
Use | Allowed in form components on UNIFACE 8 onwards | ||||||||
Description | The sound statement allows you
to play a sound file, the sound file itself can only be a wave file. In
most cases the file name has the extension WAV.
Tested in 8.2.01. Do not work on Uniface 7.2.6 Sound directory:The sound directory specifies where the sound files are located. It is not recomended to use hard coded path information in proc. The sound directory can be specified in the usys.ini paths section [paths] sounddir=c:\winnt\media For instance: sound/play "c:\winnt\media\tada.wav" or sound/play "tada" if we have a default sound directory. Note that when a sound file cannot be found Windows itself does a retry on the media folder. |
||||||||
Example | sound/play "c:\winnt\media\tada.wav" |