[jawsscripts] Re: Understanding An App's Hierarchy

  • From: <denversdigitalhelpdesk@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 21 Aug 2017 19:43:58 -0600

Hi Jackie


Thank you for the help. I repaired JAWS and color recognition was better.
Big thanks for pointing me to the getcoloratpoint function, this did the 
trick!
I am a newbie, can you tell me how to tell the difference from a .NET 
application or one built from QT, or any other framework?




-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride
Sent: Friday, August 18, 2017 7:44 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Understanding An App's Hierarchy

Hello, Jeff. What u have here is a .net application, & they can be tricky. 
You're also using the saycolor() function, if my intuition is correct, to get 
the colors you're looking for, &, unfortunately, this often returns incorrect 
information.

You are best off, IMO, in applications such as these to use the
findwindow() function or similar. You're also better off using something like 
getcoloratpoint(), as this tends to provide a more accurate naming of the 
color in question, ie, a sighted person may say it's red, but the computer 
might believe it's more burgundy or magenta, for example.

The other thing you may wish to do is object rather than window hierarchy. But 
generally speaking FindWindow is often successful in these sorts of 
applications.

Good luck w/your project.

On 8/17/17, denversdigitalhelpdesk@xxxxxxxxx 
<denversdigitalhelpdesk@xxxxxxxxx> wrote:

Hello All


I believe I am in over my head on a scripting task. Any help that can
be offered is appreciated.

I am having problems understanding this applications Hierarchy using
the JAWS utility. The window types are reported as



WindowsForms10.EDIT.app.0ecf914 or

WindowsForms10.BUTTON.app.31cf918



And so on. It seems as though handles and some windows are dynamically
created at runtime. So I am having trouble moving through the windows
by their reported Hierarchy, X = 3 & Y = 4. Is there a better way to
understand the relations?



I also have had no luck using the FindColors function. I want to know
when the window's color turns red, when normally a light gray. Nor
does the function return true when looking for black text on a white
background, in edit fields that are being displayed. Is there a better
way to detect when the window color turns red, or a red dot is present
next to a password field, indicating it is required for that account?



SayChunck has not been successful in finding gray text among the
transaction history list. I used the RGB string of 128128128 in the
FindColors function and it too, does not see the difference. Is there
possibly something wrong with the JAWS install? Or is there a better
way to detect these items?



Thank you much in advance





Jeff





__________

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts




--
Remember! Friends Help Friends Be Cybersafe Jackie McBride Helping Cybercrime 
Victims 1 Person at a Time https://brighter-vision.com __________

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts



__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: