[jawsscripts] Re: KeyPressedEvent Attention Dennis Brown

  • From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 8 Aug 2009 14:47:26 -0400

Where can I get a demo of this app so I can take a look.

Thanks,
Dennis Brown

----- Original Message ----- 
From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, August 07, 2009 10:07 PM
Subject: [jawsscripts] Re: KeyPressedEvent Attention Dennis Brown


> no, the class, type, and title do not change at all through out the 
> application
>  ----- Original Message ----- 
>  From: Dennis Brown
>  To: jawsscripts@xxxxxxxxxxxxx
>  Sent: Wednesday, August 05, 2009 1:57 PM
>  Subject: [jawsscripts] Re: KeyPressedEvent Attention Dennis Brown
>
>  You said:
>  >  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.
>
>  If screenStabilizedEvent is something that fires when the new item gains
>  focus, try these steps:
>  Can you determine if you are in the crate list or music list by checking 
> the
>  class or type or title?
>  If so, you may try something like the following:
>
>  void function ScreenStabilizedEvent(handle hwndLastScreenWrite)
>  ; Put your code in here like the following:
>  If I'm in Crate list then
>      SayField()
>  ElIf I'm in music list Then
>      SayLine()
>  EndIf
>  ; Now, call default...
>  ScreenStabilizedEvent(hwndLastScreenWrite)
>    endFunction
>
>
>
>
>  Thanks,
>  Dennis Brown
>
>  ----- Original Message ----- 
>  From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
>  To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx>
>  Sent: Friday, July 31, 2009 5:37 PM
>  Subject: [jawsscripts] Re: KeyPressedEvent Attention Dennis Brown
>
>
>  > Hey Dennis,
>  > I finally did reply to your message from a few weeks ago., but I don't
>  > think you saw it.  Can you take a look at the string of messages below 
> and
>  > give me your thoughts?  The bottom line is that the only event 
> functions
>  > that fire in Scratch Live are ScreenStabalizedEvent, NewTextEvent, and
>  > SayHighlightedText.
>  > ----- Original Message ----- 
>  > From: GianniP46
>  > 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
>  >  >  > http://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
>  >  >  http://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
>  >  > http://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
>  >  http://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
>  > http://www.freelists.org/list/jawsscripts
>  >
>  >
>  >
>  > 
> --------------------------------------------------------------------------------
>  >
>  >
>  >
>  > No virus found in this incoming message.
>  > Checked by AVG - www.avg.com
>  > Version: 8.5.392 / Virus Database: 270.13.23/2254 - Release Date: 
> 07/22/09
>  > 05:59:00
>  >
>  > __________
>  > Visit and contribute to The JAWS Script Repository 
> http://jawsscripts.com
>  >
>  > View the list's information and change your settings at
>  > http://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
>  http://www.freelists.org/list/jawsscripts
>
>
>
> ------------------------------------------------------------------------------
>
>
>
>  No virus found in this incoming message.
>  Checked by AVG - www.avg.com
>  Version: 8.5.392 / Virus Database: 270.13.44/2283 - Release Date: 
> 08/05/09 05:57:00
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://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 
http://www.freelists.org/list/jawsscripts

Other related posts: