The Speak action is used to speak text using the Windows speech synthesis engine. You must have the SAPI 4 or later speech engine installed. (SAPI 4 is included with Windows 2000 and later.) This action is commonly used to create audio reminders or notifications or to read text from other sources.
From the Task Builder Available Actions pane, open the Multimedia folder and double-click the Speak action or drag it into the Steps pane.
In the Text to speak box, enter the text. To use a variable, surround it with percent signs. You can also use the expression builder by clicking the Insert expression/variable button .
To specify voice and speech engine options, click the Advanced tab and enter the properties as follows:
In the Voice box, select the desired voice. To include all available languages, select Display voices in all languages.
In the Speech engine box, select the speech engine.
To save the spoken text to a WAV file, click to select the check box, and then enter the path and file name in the box below. You can use the Open folder button to navigate to the file location.
If you want to only save the spoken text without speaking it out loud as the task runs, select Do not speak the text out loud.
To adjust voice attributes, click the Voice Attribute tab and use the sliders to adjust the pitch, speed, and volume. Clicking Reset restores the default settings.
To test the sound at any time, click the Play button . For long text, you can also use Stop and Pause . Variables will play literally when tested, but will play correctly when run as part of the task.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps