[jawsscripts] Re: KeyPressedEvent Question

  • From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2009 15:21:40 -0400

----- Original Message ----- 
From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, July 22, 2009 3:04 PM
Subject: [jawsscripts] Re: KeyPressedEvent Question


> Ok Dennis, It has been a while, but I did what you said and the only one 
> that fires regularly is ScreenStabilizedEvent.  None of the other ones 
> that you suggested work.  And the KeyInterupt checkbox did not make a 
> difference.
> I know it took me a while to respond, but all of the original messages are 
> below.  Take a look to refresh your memory.
>  ----- Original Message ----- 
>  From: Dennis Brown
>  To: jawsscripts@xxxxxxxxxxxxx
>  Sent: Saturday, June 13, 2009 4:20 PM
>  Subject: [jawsscripts] Re: KeyPressedEvent Question
>
>  Yes, go into comfit manager's user settings and toggle that puppy off.
>  One thing I had to do when writing the MSN Live Messenger script set is 
> rely
>  on ValueChangedEvent, because the main focus never changed, so
>  FocusChangedEvent never fired after the initial focus.
>  Put SayInteger(99) in ValueChangedEvent and see if it fires when tabbing
>  through the application, and do SayInteger(77) in ActiveItemChangedEvent.
>  One thing to keep in mind is that the first event to fire is not
>  FocusChangedEvent, but rather FocusChangedEventEx.  That puppy fires 
> either
>  ActiveItemChangedEvent or FocusChangedEvent, or MenuModeEvent, or others,
>  depending on different variables.
>  Put a SayInteger(1) in that puppy and see if it fires.
>  Try ObjStateChangedEvent, and ScreenStabilizedEvent as well.
>  Lets build a list of possibilities by determining which event fires
>  consistently.
>  KeyPressedEvent may be the only option to do what you want, but lets rule
>  out other possibilities first.
>
>  Thanks,
>  Dennis Brown
>
>  ----- Original Message ----- 
>  From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
>  To: <jawsscripts@xxxxxxxxxxxxx>
>  Sent: Saturday, June 13, 2009 3:49 PM
>  Subject: [jawsscripts] Re: KeyPressedEvent Question
>
>
>  > Hey Denis,
>  > I really don't think so, but how would I check?  Is it that key 
> interrupt
>  > checkbox in Config manager?  This is one of those pain in the elbow 
> apps
>  > because there is only one window, window class, control id, and so on.
>  > The only way I have managed to get the info I need is by messing with
>  > NewtextEvent and SayHighlightedText.  Nothing else seems to fire at all 
> in
>  > this app.  FocusChangedEvent doesn't even get fired when I use the 
> arrow
>  > keys or the tab key.
>  >  ----- Original Message ----- 
>  >  From: Dennis Brown
>  >  To: jawsscripts@xxxxxxxxxxxxx
>  >  Sent: Saturday, June 13, 2009 2:59 PM
>  >  Subject: [jawsscripts] Re: KeyPressedEvent Question
>  >
>  >  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
>  >
>  >
>  >
>  > 
> ------------------------------------------------------------------------------
>  >
>  >
>  >
>  >  No virus found in this incoming message.
>  >  Checked by AVG - www.avg.com
>  >  Version: 8.5.364 / Virus Database: 270.12.67/2173 - Release Date:
>  > 06/13/09 05:53:00
>  >
>  > __________
>  > 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
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>  No virus found in this incoming message.
>  Checked by AVG - www.avg.com
>  Version: 8.5.364 / Virus Database: 270.12.67/2173 - Release Date: 
> 06/13/09 05:53:00
>
> __________
> 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: