VBScript Lua
This example demonstrates the usage of the AzureTranslate and AzureTTS GSE actions.
Please make sure that your SwyxWare matches the version requirements for both GSE actions.
It translates any given text in any langauge to German and announces it. In case of an error (in the usage or execution of the AzureTranslate and/or AzureTTS actions) it simply plays a beep.
The text to translate and announce is passed as GSE rule parameter into the GSE rule.
To install it:
-
Follow the instructions AzureTTS - 2 - Setup GSE Action to also install the AzureTTS GSE action.
-
Open the Call Routing Manager of your desired SwyxWare user.
-
Click the "New Rule..." button.
-
Select "Graphical Script Editor" and click Ok.
-
Within the GSE open the File | Import... menu and click No.
-
From the download package select the following file:
For VBScript usage:VBScript based\rse\Translate and Announce Text.rse
For Lua usage:Lua based\rse\Translate and Announce Text.rse
-
You need to make some modifications in the AzureTranslate and AzureTTS blocks (e.g. your subscription keys for both services). They are explained in detail in the chapters AzureTranslate - 3.1 - Usage and AzureTTS - 3.1 - Usage.
By Tom Wellige