[jawsscripts] Re: Handle of a window whose text changed is needed,

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 11 Feb 2010 07:04:20 +0530

all the sliders are unknown, some of them are technicaly scrol bars, and 
some are sliders, the information window is static and edit boxes both. 
for some sliders, edit box is used, for others: static.
Thank you.
David Farough wrote:
> Not that strange really.  some applications will show the same value as
> the window handle for the control id.
>
> You will need to find some unique information for the controls that you
> want to reference.
>
> Does Jaws see the slider controls as sliders? or are they unknown
> types?
>
> Are the fields that show the changes edit fields?
>
> You should grab a copy  of Jamal's event templates and try to determine
> which events will respond to these changes to the sliders.  I don't know
> what the URL is presently, but I know he posted about them recently. 
> You are going to have to do a lot of experimenting with them.
>
> Also, maybe the GetWindowHierarchyX and GetWindowHierarchyY functions
> will help you determine some way to differentiate some of these
> windows.
>
> David Farough
> Application Accessibility Coordinator/coordonateur de l'accessibilité 
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> Tel. / Tél:    (613) 992-2779 
>
>   
>>>> Soronel Haetir <soronel.haetir@xxxxxxxxx> 11:53 am Wednesday,
>>>>         
> February 10, 2010 >>>
> If IDs aren't fixed it's going to be way harder.  It would be a very
> strange program that didn't use fixed IDs however.
>
> On 2/9/10, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
>   
>> if IDs are not fixed?
>> Soronel Haetir wrote:
>>     
>>> Looking at how FS does it the answer would mostly appear to be
>>> scripts that check if one of those sliders is active then use the
>>> control ID (which is generally a constant value unlike window
>>>       
> handles)
>   
>>> to get the edit field window and then extract and speak the updated
>>> value.  And if none of the sliders are active then PerformScript to
>>> invoke the default.
>>>
>>> On 2/9/10, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
>>>
>>>       
>>>> Hello friends, in a program, there are several sliders, pressing
>>>>         
> arrow
>   
>>>> or pageup or down keys, changes the slider, but that slider change
>>>>         
> is
>   
>>>> not very meaningful to the user, so there is sometimes an edit box,
>>>>         
> and
>   
>>>> sometimes a static window to give some other percentage, so is it
>>>> possible to get the handle of the window whose text is recently
>>>>         
> changed
>   
>>>> by sayNonHiLighted text or new text event function, so we can say
>>>>         
> the
>   
>>>> text of that window on each key press when the focus is on the
>>>>         
> slider?
>   
>>>> note that the information window may be some times after the
>>>>         
> slider,
>   
>>>> sometimes before it, since it is not fix for each slider, it is
>>>>         
> not
>   
>>>> possible for me to use the get next or prior window functions
>>>> successfully.
>>>> it is a company program for one of my friend's workplace.
>>>> Thank you, Jitendra.
>>>> __________
>>>> 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 
>>
>>
>>     
>
>
>   


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