I have several TTS voices and I want to have a different one play each day. I'm trying to use a script to change the voice in windows TTS. I am aware of the voice tag <voice required> but don't want to use this method as it is only temporary.
My config.settings.ini file has this entry:
On start up I get these errors:
Feb-03 6:34:00 AM Error Compiling script Startup.vb: compiler initialization failed unexpectedly: The system cannot find the file specified.
Feb-03 6:34:00 AM Error Compiling script Startup.vb: could not find library 'System.Speech.dll'
When I check ReferenceAssemblies/Microsoft/Framework/v3.0, System.Speech.dll is in there.
These are my Homeseer Stats:
Current Date/Time: 2/3/2017 6:44:12 AM
HomeSeer Version: HS3 Pro Edition 3.0.0.297
Operating System: Microsoft Windows 7 Professional - Work Station
System Uptime: 0 Days 0 Hours 10 Minutes 21 Seconds
IP Address: 192.168.0.97
Number of Devices: 451
Number of Events: 78
Available Threads: 400
Enabled Plug-Ins
3.0.0.29: ADIO-100
3.4.1.0: Caddx
3.0.0.75: HSTouch Server
3.1.0.18: Sonos
3.0.5725.16923: UltraCID3
3.0.1.87: Z-Wave
Any ideas?
Code:
Imports System.Speech Sub Main (Parm as Object) System.Speech.SpeechSynthesizer.SelectVoice("IVONA 2 Amy OEM") End Sub
Code:
ScriptingReferences= System.Speech;System.Speech.dll
Feb-03 6:34:00 AM Error Compiling script Startup.vb: compiler initialization failed unexpectedly: The system cannot find the file specified.
Feb-03 6:34:00 AM Error Compiling script Startup.vb: could not find library 'System.Speech.dll'
When I check ReferenceAssemblies/Microsoft/Framework/v3.0, System.Speech.dll is in there.
These are my Homeseer Stats:
Current Date/Time: 2/3/2017 6:44:12 AM
HomeSeer Version: HS3 Pro Edition 3.0.0.297
Operating System: Microsoft Windows 7 Professional - Work Station
System Uptime: 0 Days 0 Hours 10 Minutes 21 Seconds
IP Address: 192.168.0.97
Number of Devices: 451
Number of Events: 78
Available Threads: 400
Enabled Plug-Ins
3.0.0.29: ADIO-100
3.4.1.0: Caddx
3.0.0.75: HSTouch Server
3.1.0.18: Sonos
3.0.5725.16923: UltraCID3
3.0.1.87: Z-Wave
Any ideas?
Comment