[jawsscripts] Re: JLS Utilities To The Rescue

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 18 Mar 2010 07:09:35 -0400

Hi Geoff,
I haven't written the code yet, but since I know that I can find the x and y 
coordinates of the windows with the JLS utilities, I was going to try the 
following.

* Make a global flag so that I only get my window the first time the program 
runs.
* Make a global handle for my window.
* Make one constant for x and another for y with my known values in them that I 
got from JLS.
* In AutoStartEvent, use EnumerateChildWindows starting at the application main 
window. In my call back function, check x and y. When x and y match my known 
values, store the handle of the window in my global handle and set my flag. 

That will let me speak my window when I need to do so.

I'll tell you if my theory works.

Jim Homme,
Usability Services,
Phone: 412-544-1810
Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: Thursday, March 18, 2010 1:02 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: JLS Utilities To The Rescue

wow. window coordinates as soul unique delineator? goodness!
if not too much trouble, may we see the code you came up with for that one 
jim?

Thanks.

Geoff c.
----- Original Message ----- 
From: "Homme, James" <james.homme@xxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, March 09, 2010 1:16 AM
Subject: [jawsscripts] JLS Utilities To The Rescue


> Hi,
> Sorry. I forget who asked about instances where control I d's and handles 
> are the same, but I wanted to tell you that I just successfully installed 
> the JLS utilities. The only way I was able to differentiate between 
> windows I was working with was to use window coordinates. Now I think I 
> can script the functionality I want since I know where in the application 
> the windows appear very easily using the JLS utilities to give me the 
> information.
>
> Jim
>
> Jim Homme,
> Usability Services,
> Phone: 412-544-1810
> Skype: jim.homme
> Internal recipients,  Read my accessibility blog
>
>
>
> This e-mail and any attachments to it are confidential and are intended 
> solely for use of the individual or entity to whom they are addressed.  If 
> you have received this e-mail in error, please notify the sender 
> immediately and then delete it.  If you are not the intended recipient, 
> you must not keep, use, disclose, copy or distribute this e-mail without 
> the author's prior permission.  The views expressed in this e-mail message 
> do not necessarily represent the views of Highmark Inc., its subsidiaries, 
> or affiliates.
> __________
> 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
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.435 / Virus Database: 271.1.1/2729 - Release Date: 03/07/10 
19:34:00

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