[jawsscripts] Re: jawsscripts Digest V3 #72

  • From: "Paul Bonarrigo" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "pjbonarrigo@xxxxxxxxx" for DMARC)
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 9 Apr 2015 16:58:05 +0000 (UTC)

RE: mainframe based system to SAP running inside Internet Explorer.  Hi.  It
sounds like the I E output is similar to the mainframe terminal.  Your mention
of GetWord may provide a clue.  I scripted reading of terminal columnar data
using NextChunk(), then Let data = GetChunk().  If the cursor can move to the
next or previous line of the column and Jaws recognizes the columnar line as a
chunk, then this basic approach is worth a shot.  Paul


On Wednesday, April 8, 2015 10:10 PM, FreeLists Mailing List Manager
<ecartis@xxxxxxxxxxxxx> wrote:


jawsscripts Digest    Wed, 08 Apr 2015    Volume: 03  Issue: 072

In This Issue:
        [jawsscripts] Re: Further to, How can I read up columns in I
        [jawsscripts] Re: Further to, How can I read up columns in I
        [jawsscripts] Code hand-outs from a scripting course
        [jawsscripts] Re: Code hand-outs from a scripting course
        [jawsscripts] Re: Code hand-outs from a scripting course
        [jawsscripts] Re: Further to, How can I read up columns in I
        [jawsscripts] Re: Further to, How can I read up columns in I

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

From: "Paul Magill" <magills@xxxxxxxxxxx>
Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet ex
Date: Wed, 8 Apr 2015 21:33:44 +1000

Thank you  Travis and Stefan,

I changed the layout from simple to screen, but the problem remained.  I
was surprised that there appeared to be no noticeable difference in the way
the virtual cursor behaved within  the so called table.

Unfortunately, braile is not an option for me.

Again unfortunately, neither are your 2 second options, as I am simply not
up to the task...

Thank you for your interest and suggestions.

I'll plow through the JAWS FSDN, and perhaps get lucky & spot something that
triggers an inspiration.  Its happened before...

Regards,
Paul from Australia

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth

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-----
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill

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



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

Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet ex
From: Jonathan C Cohn <jon.c.cohn@xxxxxxxxx>
Date: Wed, 8 Apr 2015 07:54:20 -0400

This system is probably similarly coded to the Deltec Timesheets that
significant numbers of blind government contractors curse on a regular basis.

In Deltec each position in the grid is a “div†and they use styles to
lay these out on the screen.

Believe it or not, the Macintosh VoiceOver screen reader is the only one that I
have discover that can be (with the proper settings) able to peruse the columns
vertically.

In deltic each grid item has an id like d0_7  (first row eighth column). 
Could JAWS be able to set virtual focus on a div based on the ID?

If so then code that parses the id  (assuming your system has logical div ID
might be the way to go!


On Apr 8, 2015, at 07:33, Paul Magill <magills@xxxxxxxxxxx> wrote:

Thank you  Travis and Stefan,

I changed the layout from simple to screen, but the problem remained.  I
was surprised that there appeared to be no noticeable difference in the way
the virtual cursor behaved within  the so called table.

Unfortunately, braile is not an option for me.

Again unfortunately, neither are your 2 second options, as I am simply not
up to the task...

Thank you for your interest and suggestions.

I'll plow through the JAWS FSDN, and perhaps get lucky & spot something that
triggers an inspiration.  Its happened before...

Regards,
Paul from Australia

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth

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-----
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill

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




Best wishes,

Jonathan




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

From: "Mark Matthews" <mark.matthews15@xxxxxxxxxxxxxxx>
Subject: [jawsscripts] Code hand-outs from a scripting course
Date: Wed, 8 Apr 2015 13:13:52 +0100

Good Afternoon,
This is a bit of a long-shot, but about five years ago, Brian Hartgen of then
T&T Consultancy ran an excellent Beginners to Scripting course. Following the
sessions, code which was put together in the class was sent out by mail.
Unfortunately, I appear to have misplaced this, probably due to thinking
I’d backed it up when in fact they hadn’t copied across. Does
anyone who attended the course happened to have these?

In particular I’m looking for the function put together to read the line
number in Notepad, and the script to then call that function. I think code
could have been included to toggle this on and off too. I’m searching
for a way to understand the use of global variables in the real world as it
were, so perhaps someone could point me in the direction where I’d find
other examples of this.

Hope I’ve made at least some sense here!

Mark

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

From: "Brian Hartgen" <jaws@xxxxxxxxxxx>
Subject: [jawsscripts] Re: Code hand-outs from a scripting course
Date: Wed, 8 Apr 2015 13:18:20 +0100

Hi Mark

Well, I attended the course, (smile), and I will find it and send it along to
you.

Best wishes:

Brian Hartgen
Hartgen Consultancy
www.hartgen.org
Phone UK: 02920-850298.
Phone US: 415-871-0626

JAWS Certified, 2014

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mark Matthews
Sent: 08 April 2015 13:14
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Code hand-outs from a scripting course

Good Afternoon,
This is a bit of a long-shot, but about five years ago, Brian Hartgen of then
T&T Consultancy ran an excellent Beginners to Scripting course. Following the
sessions, code which was put together in the class was sent out by mail.
Unfortunately, I appear to have misplaced this, probably due to thinking
I’d backed it up when in fact they hadn’t
copied across. Does anyone who attended the course happened to have these?

In particular I’m looking for the function put together to
read the line number in Notepad, and the script to then call that function. I
think code could have been included to toggle this on and off too.
I’m searching for a way to understand the use of global
variables in the real world as it were, so perhaps someone could point me in
the direction where I’d find other examples of this.

Hope I’ve made at least some sense here!

Mark
__________�

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


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

From: "Mark Matthews" <mark.matthews15@xxxxxxxxxxxxxxx>
Subject: [jawsscripts] Re: Code hand-outs from a scripting course
Date: Wed, 8 Apr 2015 13:34:42 +0100

Thanks so much Brian!

Mark

-----Original Message-----
From: Brian Hartgen
Sent: Wednesday, April 08, 2015 1:18 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Code hand-outs from a scripting course

Hi Mark

Well, I attended the course, (smile), and I will find it and send it along
to you.

Best wishes:

Brian Hartgen
Hartgen Consultancy
www.hartgen.org
Phone UK: 02920-850298.
Phone US: 415-871-0626

JAWS Certified, 2014

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mark Matthews
Sent: 08 April 2015 13:14
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Code hand-outs from a scripting course

Good Afternoon,
This is a bit of a long-shot, but about five years ago, Brian Hartgen of
then T&T Consultancy ran an excellent Beginners to Scripting course.
Following the sessions, code which was put together in the class was sent
out by mail. Unfortunately, I appear to have misplaced this, probably due to
thinking I’d backed it up when in fact they
hadn’t copied across. Does
anyone who attended the course happened to have these?

In particular I’m looking for the function put together to
read the line
number in Notepad, and the script to then call that function. I think code
could have been included to toggle this on and off too. I’m
searching for
a way to understand the use of global variables in the real world as it
were, so perhaps someone could point me in the direction where
I’d find
other examples of this.

Hope I’ve made at least some sense here!

Mark
__________�

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


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

From: =?windows-1257?Q?Artur_Räpp?= <rtr@xxxxxxxxx>
Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet ex
Date: Wed, 8 Apr 2015 16:19:42 +0300

Hi,

JAWS can move by spans (y key) and by div elements (z key). Maybe you can
jump fixed amount of spans or divs? For example you can make simple script
to jump 4 div elements forfard or backward. (if there is 4 colums)

My 0.02€
Artur

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill
Sent: Wednesday, April 8, 2015 2:34 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet
explorer when there is no table coding?

Thank you  Travis and Stefan,

I changed the layout from simple to screen, but the problem remained.  I
was surprised that there appeared to be no noticeable difference in the way
the virtual cursor behaved within  the so called table.

Unfortunately, braile is not an option for me.

Again unfortunately, neither are your 2 second options, as I am simply not
up to the task...

Thank you for your interest and suggestions.

I'll plow through the JAWS FSDN, and perhaps get lucky & spot something that
triggers an inspiration.  Its happened before...

Regards,
Paul from Australia

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth

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-----
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill

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


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


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

Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet ex
From: "Scott Huey" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender
"smartinhuey@xxxxxxxxx" for DMARC)
Date: Wed, 8 Apr 2015 17:04:08 -0400


I'd throw my advice behind using the GM or IE DOM manipulation approaches, as
well, in that order in terms of performance and stability if there are no
concerns regarding using Firefox as a browser choice. As unintuitive as it
sounds, doctoring the rendered page source clientside to include semantic
markup is usually the most reliable method in even extremely complex web
applications. It was mentioned somewhere previously that you're working with
"classic" faux tables, with css introducing the visual formatting. If this is
the case, the predominant pattern in web design these days is to hook the CSS
using element classes, which give you something very specific which you can
hook with javascript derived code (either GreaseMonkey user scripts or direct
manipulation in JAWS through the document object reference). It honestly is a
lot more straightforward than most people assume it is, if you'd like
assistance to mock up some code. 


On Apr 8, 2015, at 9:19 AM, Artur Räpp <rtr@xxxxxxxxx> wrote:

Hi,

JAWS can move by spans (y key) and by div elements (z key). Maybe you can
jump fixed amount of spans or divs? For example you can make simple script
to jump 4 div elements forfard or backward. (if there is 4 colums)

My 0.02€
Artur

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill
Sent: Wednesday, April 8, 2015 2:34 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Further to, How can I read up columns in Internet
explorer when there is no table coding?

Thank you  Travis and Stefan,

I changed the layout from simple to screen, but the problem remained.  I
was surprised that there appeared to be no noticeable difference in the way
the virtual cursor behaved within  the so called table.

Unfortunately, braile is not an option for me.

Again unfortunately, neither are your 2 second options, as I am simply not
up to the task...

Thank you for your interest and suggestions.

I'll plow through the JAWS FSDN, and perhaps get lucky & spot something that
triggers an inspiration.  Its happened before...

Regards,
Paul from Australia

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth

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-----
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Magill

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


__________o?>
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


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

End of jawsscripts Digest V3 #72
********************************




__________�

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

Other related posts:

  • » [jawsscripts] Re: jawsscripts Digest V3 #72 - Paul Bonarrigo