[jawsscripts] Re: A suggestion is needed to perform a say function with every navigation and when item gains focus

  • From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 31 Jul 2009 15:55:53 -0400

Hi,
Give step-by-step examples of when you'd want it to announce, and we'll see 
if we can narrow the choices of overwrites of functions and scripts.  We may 
find a common factor for the say function you want to plug in.
For example:
You: When I tab into the list, I want the time, and the list item, 
announced.
You: When I Alt+Tab into the app, and the list has focus, I want it 
announced.
Us: If so, then these items would be ActiveItemChangedEvent, and/or 
SayObjectTypeAndText.

You: I want it to announce with up/down arrows in the event.
Us: Again, ActiveItemChangedEvent, or ValueChangedEvent.
You: I want it to announce the time with Home and End.
Us: Same events.
You: I want it to announce with Insert+Tab.
Us: That would be SayWindowPromptAndText.
What situation do you want it to announce in an edit field?  When you are 
typing, or only when you enter the field?
Again, SayObjectTypeAndText.

Just give us some movement scenarios, and we'll find the best locale for 
your code.

Thanks,
Dennis Brown

----- Original Message ----- 
From: "Jitendra" <jeet.invincible@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, July 31, 2009 2:30 PM
Subject: [jawsscripts] Re: A suggestion is needed to perform a say function 
with every navigation and when item gains focus


>
> I don't know if it works or not, shall try.
> but are there fewer functions that I need to recreate or modify like value
> changed event, ActiveItemChangedEvent, focusChangedEvent or some others 
> you
> can suggest me, so I don't need to modify that large number of scripts, or
> this is the best way you suggested me?
> Thank you, Jitendra.
>
> Bryan Garaventa wrote: Ah yes, I see what you mean. This other method will
> likely work better then. Go into the default script file, and copy all of
> thescript declaration names that you want to attach your script to,
> includingSayWindowPromptAndText, and add them manually to your own scripts
> like so... Script SayLine() ; Do something before the original script is
> run... PerformScript SayLine() EndScript Script SayPriorLine () ; Do
> something before the original script is run... PerformScript 
> SayPriorLine()
> EndScript Script SayNextLine () ; Do something before the original script 
> is
> run... PerformScript SayNextLine() EndScript Etc... Untill all of the keys
> that you want are covered. Would this work better? ----- Original Message
> ----- From: "Jitendra" <jeet.invincible@xxxxxxxxx>[1] To:
> <jawsscripts@xxxxxxxxxxxxx>[2] Sent: Friday, July 31, 2009 3:59 AM 
> Subject:
> [jawsscripts] Re: A suggestion is needed to perform a say function with
> everynavigation and when item gains focus for What I have in mind, you may
> need to read again my very first message, but in short: I have a time
> string,it may come in a list and in edit boxes, and I want jaws to read 
> that
> string as I wanted, I have formatted it with a function as hh,mm,ss and 
> now
> stored it and want to say when navigation happens, switch back to the app,
> insert+ tab key is pressed, and when item gains focus by any other means,
> such as JAWS automaticly reads the item state, text, label or any other
> thing. Note: the list views are standard lists, and MSAA can tell their
> headers and text as well, but btw, the keypressed event function says my
> string for sure, but skips other list items and their headers. Thank you.
> Youwrote: If you would like to, you don't need to check for specific keys 
> if
> you want the event to fire with every keypress though. Is this the 
> behavior
> you had in mind? __________ Visit and contribute to The JAWS Script
> Repository http://jawsscripts.com[3] View the list's information and 
> change
> your settings at //www.freelists.org/list/jawsscripts[4] __________
> Visit and contribute to The JAWS Script Repository 
> http://jawsscripts.com[5]
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts[6]
>
>
> --- Links ---
>   1 mailto:jeet.invincible@xxxxxxxxx
>   2 mailto:jawsscripts@xxxxxxxxxxxxx
>   3 http://jawsscripts.com
>   4 //www.freelists.org/list/jawsscripts
>   5 http://jawsscripts.com
>   6 //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
>
> 

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