Almost.
SynthesizerDescription needs a dot separator. Synthesizer is the object,
and Description is the property, so you would do:
If Synthesizer.Description = "DECtalk Access32 (Window-Eyes)" Then
That's one of the reasons why turning on punctuation when reviewing code
is so important.
But even then, you need to determine what the active synthesizer is, not
just any random synthesizer. The Active property of the Synthesizers
object (a collection) gives you back a Synthesizer object (a single
object) representing the active synthesizer. You can then compare its
description to the string you're interested in. So you really want:
If Synthesizers.Active.Description = "DECtalk Access32 (Window-Eyes)" Then
Aaron
Jeff Weiss wrote:
Ok, Aaron, I see that--thanks.
Now when the script runs without errors, should I be able to press a key
say control-shift-t for the title and hear the "DECtalk Says " before
the title?
-----Original Message-----
From: Aaron Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2008 4:08 PM
To: [email protected]
Subject: Re: Another routine
Jeff Weiss wrote:
If SynthesizerDescription = "DECtalk Access32 (Window-Eyes)" Then
I think you've got too many spaces between Access 32 and (Window. There
should be only once space.
Aaron
--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development