Field-Map Scripting

4.1.6.2.2 PlaySoundFromFile

PlaySoundFromFile procedure


Prototype:

procedure PlaySoundFromFile(const FilePath: string);

Description:

The PlaySoundFromFile procedure plays the specified sound file.

Syntax:

PlaySoundFromFile(FilePath);


Part

Description


FilePath

A string parameter specifying the full location of the file

Return value:

none



Example:


var

 filePath : string;


begin

 filePath:= 'C:\temp\FieldMapProjectScript\Voice\bell';

 PlaySoundFromFile(filePath);

end.


See also:

Beep; PlaySoundFromFile; PlaySoundFromLibrary; ReleaseSound; SwitchSoundsOff; SwitchSoundsOn; Speak