The Create File Document Step
Continue to build the TTSsample.aef script by adding a Create File Document step (from the Document palette) to create a document variable, spanishPromptDoc, from a text file.
The subsequent Create TTS Prompt step will then use this document variable to create a prompt in the Spanish language.
Figure shows the configured Create File Document customizer window.

Configure the Create File Document customizer window as follows:
-
Filename—“spanishPrompt.txt”
This filename represents the text file that holds the text that the subsequent Create TTS Prompt step will convert into speech.
-
Document—spanishPromptDoc
This document variable will be used by the subsequent Create TTS Prompt step to create a Spanish language prompt.