Jonathan,
In the case of a USB synthesizer, yes. You can use WMI to watch for the
event, and assuming the synthesizer is functioning properly, you can act
on it. However, older legacy devices which utilize serial or even
parallel communication won't benefit from this approach.
Steve
On 7/29/2013 12:10 PM, Jonathan C. Cohn wrote:
Shouldn't there be an event generated when a USB device is added or removed
from the computer? If a script could be attached to that device and then query
the characteristics then all that would be needed was a select synthesizer
method, which I expect is present.
Best wishes,
Jonathan
Sent from my iPhone
On Jul 29, 2013, at 11:39 AM, Stephen Clower <[email protected]> wrote:
Mike,
To my knowledge, there isn't a reliable way to tell if a hardware synthesizer
is actually connected to your PC. For instance, I could tell my copy of
Window-Eyes to start speaking through a Trippletalk, and it will happily do its
best... but as I have no such device the end result would be no speech
whatsoever, though Window-Eyes would otherwise continue running.
If you find yourself needing to flip through two or more specific devices or
voices frequently, give the Voice Rotor app (included with Window-Eyes 7.5 and
up) a try. While not as automatic as you envision, it should otherwise fit the
bill.
Regards,
Steve
On 7/29/2013 11:35 AM, BX wrote:
Hi Mike,
It is interesting you would say this and when reading the Boo compiler and
the ability to make shared objects, it allows you to make dialogs and windows
forms fairly easy.
One could probably make up each dialog and such as a duplicate of what WE
uses and have that placed in as a shared object for everyone to use.
It is interesting in the 2 examples given under the Homer apps that short
examples are given there.
so, using Boo there seems to many possibilities. Once I get through
copying down the C++ manual, 400 pages to go, I will get into it. (Out of 1250)
Bruce
Sent: Monday, July 29, 2013 8:26 AM
Subject: Script that selects synthesizer when booting upIf WE8.2 can already do
this, please let me know. If not, I am hoping that someone can script this as
I, and probably others, might find something like this useful.
Let me explain what I am attempting to do. On a laptop, I have it set to
use eloquence as the default on bootup. I also, more often than not, have
a trippletalk usb synthesizer connected to the pc.
I make the switch to the TripleTalk either using a .bat file or via the
synthesizer dialogue in the devices options of the WE8.2 settings.
What would be nice is a script detecting whether or not the tripleTalk usb
was connected and, if it found it, used that for speech and, if not there,
went to eloquence.
As I said before, if WE can already do this, I don't want someone to
re-invent the wheel.
Thanks!
Unforgiveness is like drinking poison and hoping the other person dies.
St. Augustine
--
Stephen Clower
Product support specialist & App Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
--
Stephen Clower
Product support specialist & App Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com