Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

EG gives some answer when VOX Commando tasks are incomming.

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
soundman33
Posts: 12
Joined: Mon Jul 26, 2010 3:51 pm

EG gives some answer when VOX Commando tasks are incomming.

Post by soundman33 »

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) :mrgreen:


import random,string,pyttsx

antwort = [("ja"), ("gerne")]

engine = pyttsx.init()
engine.say(random.choice(antwort))

engine.runAndWait()
Post Reply