[jawsscripts] Re: How can I read up columns in Internet explorer when there is no table coding?

  • From: "Stefan Moisei" <vortex37@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 6 Apr 2015 21:01:39 +0300

Trying to sinplify a bit Travis'es second solution, you would only need to
find whether that column has an unique id associated to it, and then query
it via the dom.

-----Original Message-----
From: Travis Roth
Sent: Monday, April 6, 2015 4:11 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: How can I read up columns in Internet explorer
when there is no table coding?

Paul,

I don't know if this will make any difference: have you tried changing
Document Presentation Mode from simple layout to "Screen layout"? I am not
sure if this will make the PCCursor move any more accurately if you try it
let me know?
It would help with braille display formatting though, if that is an option
for you.

Otherwise I have seen these visual tables elsewhere and they are frustrating
because it'd be so easy for the developer to use table coding which would
just make the problem go away.
A couple of ideas on that front: if you can use Firefox you could try
editing the page's source using GreaseMonkey. Unfortunately with some of
these complex web UIs this is easier said than done.

A JAWS scripting solution, back in IE would be to pull the text from the
area of the page via the DOM. Assuming the layout is consistent enough you
can parse it programmatically you could then add HTML table markup to the
text and display it in JAWS user virtual buffer and it will display the
table allowing for JAWS table navigation. This could be a lot of work to
code but may end up being your best bet.

Travis

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill
Sent: Monday, April 06, 2015 7:58 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] How can I read up columns in Internet explorer when
there is no table coding?

Hi All,


At work, they have moved our old mainframe based system over to SAP running
inside Internet Explorer.



On a number of screens, the information is presented in what is visually
laid out as tables, but there is no HTML table coding.



I need to be able to read up any particular column of information, without
hearing what else is on the line the cursor moves to, just hearing the
information that is under the spot the cursor lands on, such as with
GetWord!



Visually, the columns are well laid out, and the lines across the table are
immediately below each other, but the virtual cursor sees a blank line
between them.



I have tried the below script that I used on the mainframe, but there the PC
cursor moved vertically up the screen, but in I E, the virtual cursor does
not.

PriorLine ()

SayWord ()



I tried getting the column position with GetCursorCol before the priorLine
statement, then after the PriorLine, using:

MoveTo (StoredColumn, GetCursorRow()))

But the MoveTo seems to do nothing with the virtual cursor, even though
GetCursorCol seems to get a reliable value for the column, so the virtual
cursor just lands at the beginning of each line it moves up to.

I also tried setting the coordinate system with the 3 different values from
HJConst.jsh, for the last parameters of GetCursorCol & MoveTo.



The JAWS & invisible cursors are not able to read the screen.



Any alternatives to MoveTo?

Any ideas for what else I can try?



Thank you kindly in advance,



Paul From Australia





__________�

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


__________�

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


---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com

__________�

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

Other related posts: