[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 16:00:31 -0400
The FocusPointMovedEvent would be way too much overhead, since you'd have to
restrict the condition with everything other than the cursor movement
keystrokes. That would have it firing lots more than needed, and
FocusChangedEvent would only fire the code when the focus changes. When
moving into the list, it would fire because the list gained focus, but it
would not fire with up and down through the list, since focus isn't
changing.
Hope this helps!
Thanks,
Dennis Brown
----- Original Message -----
From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, July 31, 2009 2:45 PM
Subject: [jawsscripts] Re: A suggestion is needed to perform a say function
with every navigation and when item gains focus
> You could try FocusPointMovedEvent, this may reduce some of the
> redundancy,
> and FocusChangedEvent might help too.
>
> ----- Original Message -----
> From: "Jitendra" <jeet.invincible@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Friday, July 31, 2009 11:30 AM
> 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 http://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
>> http://www.freelists.org/list/jawsscripts[6]
>>
>>
>> --- Links ---
>> 1 mailto:jeet.invincible@xxxxxxxxx
>> 2 mailto:jawsscripts@xxxxxxxxxxxxx
>> 3 http://jawsscripts.com
>> 4 http://www.freelists.org/list/jawsscripts
>> 5 http://jawsscripts.com
>> 6 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
>>
>
> __________
> 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: