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

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 10 Feb 2010 10:33:08 -0700

As may style bits.

On 2/10/10, David Farough <David.Farough@xxxxxxxxxxxxx> 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
>>
>>
>
>
> --
> 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
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
www.abletec.serverheaven.net
Please join me Saturday, 11/7, on my walk against breast cancer by
making a donation at:
http://main.acsevents.org/goto/larkspur>
__________ 
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: