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

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 31 Jul 2009 07:46:42 -0700

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 the script declaration 
names that you want to attach your script to, including 
SayWindowPromptAndText, 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>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, July 31, 2009 3:59 AM
Subject: [jawsscripts] Re: A suggestion is needed to perform a say function 
with every navigation 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.
> You wrote:
> 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
>
> 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: