Re: [orca-list] Programatically detecting if Orca is running



Hi,


I guess this problem can be solved by checking some setting in configuration files. Since when pressing Super+Alt+S to start orca this setting is being recorded somewhere to be able to start orca automatically on the next login. At least that's how this works in Ubuntu-Mate.



Best regards

Volodymyr

On 4/13/20 10:50 AM, Arkadiusz Kozioł wrote:
this has already been explained, that getting a orca's process is not interesting method. People, learn to read.
W dniu 12.04.2020 o 22:38, Jude DaShiell pisze:
pid orca;echo $?;if [ $? -eq 0 ]; then echo "orca is running."
On Sun, 12
Apr 2020, Nolan Darilek wrote:

Date: Sun, 12 Apr 2020 16:09:40
From: Nolan Darilek <nolan thewordnerd info>
To: Orca <orca-list gnome org>
Subject: [orca-list] Programatically detecting if Orca is running

Hey folks,


I'm working on a game engine accessibility project that is essentially a screen reader running inside the engine. I'd like to enable my screen reader if I've detected that another is running. I know how to do this under Windows via Tolk, Android via accessibility APIs, but I'm not sure how to do this for Orca. Is there any way to detect whether Orca is running, or even better, if the user has indicated to GNOME/KDE that they'd like the screen reader active?


If there isn't an easy way, I'll probably just check for the presence of the various magical environment variables we've almost certainly got set to get
things running, but I'd like to avoid that if possible.


And yes, I know I can technically check running processes, but that's hacky
and I'd rather not. :)


Thanks.

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html


_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]