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



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




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