boolean TTS_GenerateFile (int $InstanceID, string $Text, string $Filename, int $Format)
ID of the device to be switched
Text to be said
Filename/-path in the system
If the command succeeds, it returns TRUE, otherwise FALSE.
Generated on the instance with ID InstanceID a sound file in WAV format in the file Filename. The format parameter determines the quality of the wav file.
Warning: % was not found in [...] on line …
If the error message appears, it indicates an access problem. Likely the file to be written is locked by another process.
Furthermore, it is not possible to write on NetworkPath.
TTS_GenerateFile(44007, "Hello World", "C:/HelloWorld.WAV", 19);