Hi, I phrased the question badly - I was trying to avoid the overhead of the scripting engine, rather than COM per se.
Best wishes. Tim Burgess Raised Bar Ltd Phone: +44 (0)1827 719822 Mobile: 07989 486976 Web: http://www.raisedbar.net Facebook: http://www.facebook.com/pages/Atherstone-United-Kingdom/Raised-Bar-Ltd/12023 4896800 Don't forget to vote for improved access to music and music technology at http://www.raisedbar.net/petition.htm -----Original Message----- From: Doug Geoffray [mailto:[email protected]] Sent: 04 May 2010 13:26 To: [email protected] Subject: Re: Window-Eyes API Tim, I think you asked two questions. 1 - can you determine if Window-Eyes is running without COM? Yes, you can use the following: // check to see if Window-Eyes is running if (FindWindow("GWMExternalControl", "External Control")) { windoweyesLoaded = TRUE; } // end if else { windoweyesLoaded = FALSE; } // end if 2 - can you speak a string without COM? No... You have to use either GWSpeak.Speak or WindowEyes.Application to speak something. Now there may be wrappers out there that take care of this but ultimately you have to use COM. Regards, Doug Tim Burgess wrote: > Hi, > > Is there a simpler way of detecting if Window-Eyes is in memory then passing > it a string to speak without going down the COM route? > > I'm writing a self-voicing application, hence the question. > > Best wishes. > > Tim Burgess > Raised Bar Ltd > Phone: +44 (0)1827 719822 > Mobile: 07989 486976 > Web: http://www.raisedbar.net > Facebook: > http://www.facebook.com/pages/Atherstone-United-Kingdom/Raised-Bar-Ltd/12023 > 4896800 > > Don't forget to vote for improved access to music and music technology at > > http://www.raisedbar.net/petition.htm > > >
