Re: Jaws post processing

  • From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2008 19:58:12 +0300

I already asked this question on support@xxxxxxxxxxxxxxxxxxxxx a few years ago, and they gave me an answer that was not very clear to me, but I don't think that this occurs only on ocasion, because all the 4 arrows, up, down, left and right use to return the same graphic ID although they are different images.



Octavian

----- Original Message ----- From: "Chris Hofstader" <chris.hofstader@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, April 14, 2008 7:41 PM
Subject: RE: Jaws post processing


The CRC algorithm for picking those numbers that JAWS employs uses 16 bit
unsigned integers (unless they have finally made the change to 32 bit) which
will, on occasion, result in identical numbers in the same application.
It's like any checksum based system, the larger the possible values, the
less likely there will be a collision.

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian Rasnita
Sent: Monday, April 14, 2008 9:51 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Jaws post processing

Oh yes, and I even saw some different controls in the same application
(Microsoft HTML Help Workshop) that use the same graphic number, although
they show different images.

Octavian

----- Original Message ----- From: "Sina Bahram" <sbahram@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, April 14, 2008 4:17 PM
Subject: RE: Jaws post processing


Interesting, and thanks for the correction.

I was under the impression that the graphics ID represented the resource
ID
from the bundle that the given application was using, but this is
apparently
wrong. Instead it's calculated by jaws based on the bitmap in memory;
thus,
resolution, video card, and other things would mess with it, as you said.

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Chris
Hofstader
Sent: Monday, April 14, 2008 8:20 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: Jaws post processing

Hi,

All of the numbers one hears after "graphic" in JAWS are CRC values
calculated by JAWS and not by Windows.  The reason they vary from one OS
version and even one video adapter to another is that some programs use
different bitmaps to suit different resolutions, sometimes the OS does
something relatively minor (clipping a graphic to fit a space) and
sometimes
a video adapter does something funny at the driver level that will cause
variations in the resulting CRC.

This has been a long term headache for the JAWS team and, to make matters
more difficult, if they were to improve their graphics recognition
algorithm
by a lot, all of the people who used the graphics labeling facility would
find that their efforts were broken.

It's all life in the screen scraping world.

cdh

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Sina Bahram
Sent: Sunday, April 13, 2008 4:42 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: Jaws post processing

Hi Andreas,

The application doesn't send jaws that string. Windows assigns a number,
that can change based on operating system, computer, specific applications
installed, and even reboot to the resources that the application uses,
such
as that image. Now that I think about it ... The numbers might be more
consistent than that, because several jgf files exist for jaws which just
label these graphics, but anyways, I digress.

The point is that jaws takes that number and tells it to you, if you have
the speaking of unlabeled graphics enabled, but the application doesn't
send
jaws that string ... That's jaws which generates that string.

So you have three options. Run the jaws automatic graphics labeler, and if
the graphics have tooltips assigned and properly display them, then jaws
will try to cycle through and automatically label these graphics. Your
second option is to do so yourself, one at a time. Your third option is to
change the underlying application to have labeled graphics.

Use insert+control+g to run the jaws automatic labeler, and use insert+g
to
bring up the graphics labeler.

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Stefik
Sent: Sunday, April 13, 2008 4:27 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Jaws post processing

Hey folks,

Quick question about using Jaws scripts. If I have an application that
sends
JAWS some poorly chosen audio, is it possible to post process these word
choices on the JAWS end?

For example, suppose an environment represents a graphic, maybe it says,
"Graphic 409." Is it possible to write a script, on the JAWS end, to
recognize that it received graphic 409, and change it to something more
sensible? (Like, Graphic of a yellow arrow)

Any short code samples on how to do this?

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

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


.

__________ NOD32 3024 (20080414) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

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

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


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



__________ NOD32 3025 (20080414) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


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


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

Other related posts: