[jawsscripts] Re: KeyPressedEvent Question

  • From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 13 Jun 2009 14:59:42 -0400

Are you sure Jaws isn't reading the item, but your typing steps on the 
speech?
For example, when you type, the typing interrupt flag silences Jaws when a 
key is typed.  Could your typing be silencing Jaws on the incremental 
search?
Lets say I have a list named "Rock: Classic"
and when I type the R, then the O, Jaws went to the item with the press of 
the R, but my typing the O silenced Jaws trying to announce the new item.
Could this be the problem?  If so, then there is a different approach needed 
to fix your problem, one in which you can toggle typing interrupt flag when 
in that list.
You really want to stay away from an event-based solution when that event is 
triggered so frequently in all situations, like KeyPressedEvent, or 
NewTextEvent, and restrict it to specific-based events like 
ObjectChangedEvent, or ActiveItemChangedEvent, or something that is more 
specific and non-global.

Does this make sense before we proceed?


Thanks,
Dennis Brown

----- Original Message ----- 
From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx>
Sent: Saturday, June 13, 2009 2:20 PM
Subject: [jawsscripts] KeyPressedEvent Question


> Ok, here we go again with another scratch Live scripting question.
> There are two  views in scratch Live.  One is like a tree view for the 
> crates and sub crates.  Crates are like playlists.  The other view is the 
> music list for the selected crate.  Well, you can use your keyboard to 
> take you to a particular crate or song by typing its name.  Sometimes 
> though, Jaws doesn't read the newly focused item.  Should I create an 
> application KeyPressedEvent That would SayLine if I am in the music list 
> after a key press. or Say Field if I am in the crate list.
> Now how can I check If any letter or number key was pressed?
> Thanks!
>
> Gian Pedulla GianniP46@xxxxxxxxxxxxx
>
> LETS! GO! METS!
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: