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

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 13 Feb 2010 07:22:48 +0530

Sorry for the late reply geoff, but it works, yes!
it reads the text change in the information window, however it reads the 
time as well, so now what?
Geoff Chapman wrote:
> or, does the very simple simple quick-and-dirty
> solution work? of just flipping screenEcho
> to all, with insert+s, whilst utilizing the slider control, so as to hear
> any new text written to the screen at the time? then rotering it back to
> highlighted again when done? may save a loooot of messing around if so.
>
>
> ----- Original Message ----- 
> From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Thursday, February 11, 2010 4:25 AM
> Subject: [jawsscripts] Re: Handle of a window whose text changed isneeded,
>
>
>   
>> 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
>>>
>>>
>>>       
>> -- 
>> Soronel Haetir
>> soronel.haetir@xxxxxxxxx
>> __________
>> 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
>
>
>   


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