Re: detecting which screen reader is running to send output to?

  • From: Haden Pike <haden.pike@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Fri, 01 Apr 2011 17:16:47 -0400

I'd imagine you could detect the processes. Here's how I would do it.

#include <windows.h>
// Jaws.
if(FindWindow("JFWUI2", "JAWS") {
//It's running...
}

// Window-Eyes
if(FindWindow("GWMExternalControl", "External Control") {
// It's running.
}
// Use the NVDA controller for NVDA.
#include "nvdaController.h"
if(nvdaController_testIfRunning() != 0) {
// It's running.
}

I can't remember how to tell if SAPI is available at the moment.

Hope this helps,
Haden

On 4/1/2011 4:45 PM, Littlefield, Tyler wrote:
Hello all:
I need a way in c++ to detect which screen reader is running (jaws, window eyes, NVDA) and then send speech to that reader. how hard is this to do? Can I just check for the specific process and go from there?


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: