I'm currently trying to make an MSAA server application using Pyia. The MSAA code runs, but none of the other code runs, past me calling the initialize function.
Here it is.
def onChangeReaction(event):
speech.speak(event)
def initialize():
pyia.Registry.registerEventListener(onChangeReaction, pyia.EVENT_OBJECT_FOCUS)
pyia.Registry.start()
Then when I call
None of the code past it runs, but I do get MSAA events.
Maybe make it run in a background thread? When trying to run .start() in a thread though, it doesn't print/speak.