nvda say in Python
Hello everybody.Please tell me how to talk nvda in Python?My code does not work:import pygletimport ctypesnvda=ctypes.windll.LoadLibrary('./nvdaControllerClient32.dll')res=nvda.nvdaController_testIfRunning()if res!=0: errorMessage=str(ctypes.WinError(res)) ctypes.windll.user32.MessageBoxW(0,u"Error: %s"%errorMessage,u"Error communicating with NVDA",0)window=pyglet.window.Window()@window.eventdef on_key_press(symbol, modifiers): nvdaController_speakText("Hello")@window.eventdef on_draw(): window.clear()pyglet.app.run()Traceback (most recent call last): File "C:\2.py", line 3, in nvda=ctypes.windll.LoadLibrary('./nvdaControllerClient32.dll') File "C:\Python27\lib\ctypes\__init__.py", line 443, in Lo
adLibrary return self._dlltype(name) File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode)WindowsError: [Error 126]
URL: http://forum.audiogames.net/viewtopic.php?pid=263648#p263648
___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector