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

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 13 Feb 2010 02:32:22 +1100

ah.

well, to be equally honest, I have hardly done any of that UI keeping up to
speed
either.  but, in my usage of hotspotclicker, which seeks to grab the control
ID of any given window in order to help it's verification/validation
process, I have seen quite a few situations where it's set to 0, which it
does when it's the same value as the handle, to invalidate it as useful
criteria for window validation.  which was what prompted my other thoughts.

----- Original Message ----- 
From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, February 12, 2010 12:09 PM
Subject: [jawsscripts] Re: Handle of a window whose text changed is needed,


> Jeff,
>
> I'll be honest, I tend not to keep up with how people do UI.  That was
> true even when I could see and it's become even more true since.
>
> On 2/11/10, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote:
> > wow Soronel, I'm kinda surprised at your having written this below.
> >
> > Do you not feel that more programs than not of late, are abandonning the
use
> > of fixed control ID's for their windows?
> > i.e. that they're more often than not, as dynamic as the handles
themselves
> > are?
> >
> >
> >
> > ----- Original Message -----
> > From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Thursday, February 11, 2010 3:53 AM
> > Subject: [jawsscripts] Re: Handle of a window whose text changed is
needed,
> >
> >
> >> 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
> >
> >
>
>
> -- 
> 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

Other related posts: