Juan,

You'll have to handle all the focus events yourself, and then decide which ones you want to speak, and which ones you want to throw away.

Aaron

Juan Hernandez wrote:
Hi Aaron,

So I loaded up the We Event script, and noticed, that on each OnObjectFocus
msaaeventsource event fire, I get anywhere from 2-3 onspeah events firing,
I'll get the speak event firing from with in my onobjectfocus event, and 1-2
times out-side of this event a onspeak event firing speaking just saying the
focused item name...  How can I prevent these other firings?

Thanks, and I hope this makes sence.

Juan
-----Original Message-----
From: Aaron Smith [mailto:[email protected]] Sent: Wednesday, December 10, 2008 07:44 AM
To: [email protected]
Subject: Re: msaa event source

Juan,

How you debug is up to you. You can use the OutputDebugString and output to
a debugger (like DbgView), or you can use the Speak method to speak a string
when you need to know what's going on. You could also use the
Scripting.FileSystemObject object to write to a file (or the OutputDebugFile
in the toolkit). There are lots of ways to debug.

You might take a look at the Script Errors and Debugging section of the
Window-Eyes Scripting manual for additional information on the basics of
debugging.

Aaron

On 12/10/2008 10:36 AM, Juan Hernandez wrote:
Hi Aaron,

So what do you mean by put in some debug? Does window-eyes have monitor methods for checcking event information? Sorry about the stupid
questions.
-----Original Message-----
From: Aaron Smith [mailto:[email protected]]
Sent: Wednesday, December 10, 2008 05:34 AM
To: [email protected]
Subject: Re: msaa event source

Juan,

That's probably overkill. I would put in some debug to see exactly why you're getting double speech. Are you getting multiple events causing you to speak twice, or are you speaking during different events, or what?

Aaron

Juan Hernandez wrote:
Hi all,

I'm trying to build some functionality into itunes via wineyes scripts, I'm having an issue when I connect the msaaevent, things double read, like the item list view, it'll say the item like name song
name song...
So what I'm thinking is to resolve this, and let me know if it is too crazy, via onspeech event, handle the speech before it is spoken. is this a good plan if window-eyes is not speaking things how I'd like them to be spoken?

Thanks.


Juan Hernandez
[email protected]<mailto:[email protected]>
858-699-2105

--
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


--
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


--
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

Reply via email to