ANNOUNCEMENT - The community will be down for maintenace this Thursday August 13 from 12:00 AM PT to 02:00 AM PT. As a precaution save your work.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
0
Helpful
1
Replies
Highlighted
Beginner

how to string together a prompt? P[ + fileName +]

Hello,

I'm trying to string together a prompt where the file name is a string variable which I would like to then resolve to a prompt on the server.

Using P[ + fileName + ] as the prompt to play does not work. Perhaps you can suggest what I am doing wrong. On another note, to change the directory, would it be as simple as adding a "\"?

Thanks,

Andrew

1 REPLY 1
Highlighted
Enthusiast

Re: how to string together a prompt? P[ + fileName +]

Hi,

a. Hope your requirement is as follows...

Consider a string variable X which contains the value "ICDWelcome.wav".

X="ICDWelcome.wav"

You can assign this string variable directly in the Play Prompt step.

b. By default the user prompts are taken from the directory

"C:\Program Files\wfavvid\Prompts\user\en_US"

If you have placed the prompts in a different directory (Say under C:\Prompts), you need to change the path in the script as

Prompt name = "..\..\..\..\Prompts\x.wav".

Do check and get back.

Regards

Yogi

This widget could not be displayed.