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

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 01 Aug 2009 13:36:42 +0530

 Dennis Brown wrote: 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. When I tab in to the listview, I want my
time that is formatted and other headers with their items are read.
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. Nice, give some code example with a fake string
to say. You: I want it to announce with up/down arrows in the event. Us:
Again, ActiveItemChangedEvent, or ValueChangedEvent. ok, true, shall try it.
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.
When I focus that field and if say next, prior and current line scripts are
issued with insert+Tab support. Just give us some movement scenarios, and
we'll find the best locale for your code. Thanks, Dennis Brown Thank you,
Jitendra. ----- Original Message ----- From: "Jitendra"
<jeet.invincible@xxxxxxxxx>[1] To: <jawsscripts@xxxxxxxxxxxxx>[2] 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
youwant 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
ScriptSayPriorLine () ; 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>[3][1] To: <jawsscripts@xxxxxxxxxxxxx>[4][2]
Sent:Friday, July 31, 2009 3:59 AM Subject: [jawsscripts] Re: A suggestion
isneeded 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
editboxes, 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
standardlists, and MSAA can tell their headers and text as well, but btw,
thekeypressed 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'tneed to check for specific keys if you want the event to fire with
everykeypress though. Is this the behavior you had in mind? __________ Visit
and contribute to The JAWS Script Repository http://jawsscripts.com[5][3]
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts[6][4] __________ Visit and
contribute to The JAWS Script Repository http://jawsscripts.com[7][5] View
the list's information and change your settings at
http://www.freelists.org/list/jawsscripts[8][6] --- Links --- 1
mailto:jeet.invincible@xxxxxxxxx[9] 2 mailto:jawsscripts@xxxxxxxxxxxxx[10] 3
http://jawsscripts.com[11] 4 http://www.freelists.org/list/jawsscripts[12] 5
http://jawsscripts.com[13] 6 http://www.freelists.org/list/jawsscripts[14]
__________ Visit and contribute to The JAWS Script Repository
http://jawsscripts.com[15] View the list's information and change your
settings at http://www.freelists.org/list/jawsscripts[16] __________  Visit
and contribute to The JAWS Script Repository http://jawsscripts.com[17] View
the list's information and change your settings at
http://www.freelists.org/list/jawsscripts[18] 

--- Links ---
   1 mailto:jeet.invincible@xxxxxxxxx
   2 mailto:jawsscripts@xxxxxxxxxxxxx
   3 mailto:jeet.invincible@xxxxxxxxx
   4 mailto:jawsscripts@xxxxxxxxxxxxx
   5 http://jawsscripts.com
   6 http://www.freelists.org/list/jawsscripts
   7 http://jawsscripts.com
   8 http://www.freelists.org/list/jawsscripts
   9 mailto:jeet.invincible@xxxxxxxxx
  10 mailto:jawsscripts@xxxxxxxxxxxxx
  11 http://jawsscripts.com
  12 http://www.freelists.org/list/jawsscripts
  13 http://jawsscripts.com
  14 http://www.freelists.org/list/jawsscripts
  15 http://jawsscripts.com
  16 http://www.freelists.org/list/jawsscripts
  17 http://jawsscripts.com
  18 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: