[jawsscripts] Re: Keystrokes to read list view columns

  • From: "Brian Hartgen" <brianh@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 4 Dec 2013 12:03:53 -0000

OK thanks Doug, I will take a look into that.

Best wishes:

Brian


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Doug Lee
Sent: 04 December 2013 11:52
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Keystrokes to read list view columns

I'm thinking the JAWS lv*() functions for handling listViews don't work well
enough here. The only other resource I find, short of a whole lot of
pixel-level work separating columns on screen and handling scrolling, is to
check the MSAA accDescription property for the format "col2name: col2value,
col3name: col3value," etc. If you find that, col1value is the accName
property. col1name would have to come from the listView's header, which is
usually a child window under the listView itself.

On Wed, Dec 04, 2013 at 11:45:09AM -0000, Brian Hartgen wrote:
Hi

I am working with an application which contains a control which behaves as a
List View. Indeed, although the window class is not a List View, jaws speaks
the words "list view" when it gains focus, which is always a good sign. Also
on the positive side, there are no problems at all in navigating it with the
arrow keys and hearing everything which is in the list.

However ideally, I would like to use the keystrokes control insert 1 through
to 6 to read the column title followed by the cell data, it's not ideal but
it would just be nice to have. When one of these keys is pressed, jaws says
"1 out of range, this list view contains 0 columns", which indicates jaws is
not finding the columns in the list view.

In an attempt to try and diagnose the problem, I've tried assigning a
keystroke to the script "ShowEntireListView". Having placed test code within
this script at appropriate points, it seems that JAWS is identifying the
control as a list view, however the string designated to retrieve the text
in the list view is returning as empty.

Is there anything else please I can do in order to try to get jaws to
identify the columns?

Thanks for any help.


Brian


__________???

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

--
Doug Lee, Senior Accessibility Programmer SSB BART Group -
Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx
http://www.ssbbartgroup.com "While they were saying among themselves it
cannot be done, it was done." --Helen Keller __________o?=

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: