3) Editing Script Steps
Double click the Play TTS and Capture step icon in Scripter Designer. This opens a dialogue box in which it is possible to set input, output and outcomes for the step.
See Step Reference for an index of available steps.
Fig. 1 shows the input parameters for the Play TTS and Capture step.
Fig. 1 - Play TTS and Capture - Inputs 1

The step may be renamed by entering an alternative string in the Name field. We will leave the name as it is for this step.

- Speech Text - in this case, enter 'Press one for sales or press two for support, then press the hash key'. This text may be entered directly in the textbox by overwriting the <enter value> text, or for longer text messages, clicking the
icon opens a larger text input dialogue.
Note that the input field has a
icon in it. This indicates that this field is mandatory.
- Digits Low and Digits High - the maximum and minimum number of digits that may be entered. In this case, set both to 1.
- Valid Digits - the 'legal' values that can be entered. In this case, enter 12# (so that 1 and 2, and the terminating digit (see below) are valid).
- Terminating Digits - the key(s) which will stop the script capturing digits. In this case, enter #.
- Capture Timeout - the time in seconds to wait for user input before completing. In this case, enter 5.
The dialogue now looks like Fig. 2.

Select the Outputs tab (Fig. 3).
Fig. 3 - Play TTS and Capture - Outputs
Here it is possible to store the captured data in a Script or Campaign Field (variable) for use later in the script.
For example, if our Speech Text was asking the caller to enter their account number, we may need to save this to do a database lookup.
In this script, we do not need to save this data, so the Output field may be left blank.
To learn how to create a script field, see Softdial Scripter™ Designer Script Fields
Next: 4) Setting Step Outcomes