EG gives some answer when VOX Commando tasks are incomming.
Posted: Wed Oct 06, 2010 10:41 pm
Hi guys,
my idea is that eventghost can give different answers (which are choose per random) when a Vox Commando task comes in.
So bought some Phyton books and tried some coding. But it wouldn┬┤t work cause I think in EG the pyttsx plugin is missing. Is there any possiblity to install, or you guys have a better idea to solve this.
Thats my code (please dont laugh im trying just for some days)
import random,string,pyttsx
antwort = [("ja"), ("gerne")]
engine = pyttsx.init()
engine.say(random.choice(antwort))
engine.runAndWait()
my idea is that eventghost can give different answers (which are choose per random) when a Vox Commando task comes in.
So bought some Phyton books and tried some coding. But it wouldn┬┤t work cause I think in EG the pyttsx plugin is missing. Is there any possiblity to install, or you guys have a better idea to solve this.
Thats my code (please dont laugh im trying just for some days)
import random,string,pyttsx
antwort = [("ja"), ("gerne")]
engine = pyttsx.init()
engine.say(random.choice(antwort))
engine.runAndWait()