On 18/11/15 14:30, Eric S. Johansson wrote: > ----- Original Message ----- >> From: "Alejandro Piñeiro" <apinhe...@igalia.com> >> To: gnome-accessibility-list@gnome.org >> Sent: Tuesday, November 3, 2015 4:18:47 AM >> Subject: Re: trying to get started with pyatspi >> >> >> >> On 31/10/15 16:28, Eric S. Johansson wrote: >>> I'm trying to enhance my speech recognition bridge (Windows speech >>> recognition bridged to Linux) by adding some contextual awareness. I >>> have 2 needs, 1st is to know what application is running, 2nd is to >>> know if focus is on a text area (someplace you dictate plaintext in >>> addition to commands)[1] >>> >>> are there any examples or samples of the code I can use to accomplish >>> my goals? >> Some time ago I have been gathering the tests I had on my machine on >> this (informal) repository: >> https://github.com/infapi00/at-spi2-examples >> >> So, a example of how to list the running applications registered to >> at-spi2 using pyatspi2: >> https://github.com/infapi00/at-spi2-examples/blob/master/python-pyatspi2/list_applications.py > my, there are a lot of applications that don't register. :-(
Most gnome applications register, as they are gtk based (or clutter based, like the desktop). What applications in particular are not registering in your case? > > I think I can work with an event based triggers. most of the community speech > extensions to dragon are level triggered, not event. Could you elaborate level triggered vs event triggered? > >> There aren't any specific example for your second request. You could >> take a look to the other examples on that repository, an pyatspi2, to >> see if you can infer that. If you need more ellaborated code, you could >> take a look to accerciser and orca code. > ok, I'll take a look at accerciser etc. from the looks of the at-spi, it > seems like there really has not been much attention payed to the needs of the > speech recognition dependent. This is an free software project, mostly run on volunteering time. So it is true, that as in several cases volunteering time from developers interested on a specific dependency, the support is somewhat biased to that specific dependency. We had some interesting conversations with developers from Simon [1] in the past, that pointed some places where at-spi2 could improve. But unfortunately it is also needed to do some real work. If you think that the needs of the speech recognition dependent needs extra support on at-spi2, we are all ears to suggestions and patches. Best regards [1] https://simon.kde.org/ -- Alejandro Piñeiro (apinhe...@igalia.com) _______________________________________________ gnome-accessibility-list mailing list gnome-accessibility-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list