[jawsscripts] Re: braille display sometimes shows the buttons

  • From: "Jon Squally" <jonsqually@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 3 Feb 2010 14:41:24 -0800

Hello,

You may need to map the button to a custom control, then add settings in a
JBS file for the custom control.  In addition, if using this method, create
Int functions BrailleAddObject* where * represents the component you wish to
add to the display for the control type.  Within the function test for
whether your conditions are met within BrailleBuildLine.  Create a
BrailleCallBackObjectIdentify function to test for the presence of the
custom subtypecode for the button.  If the button is a standard button, then
you may just need to modify BrailleAddObjectName.  Take a look at
braille.jss, and default.jbs.  In addition, Microsoft Outlook 2007.jbs.
This will show how to implement custom subtype codes.  All of the components
are represented by BrailleAddObject+component name.  Once you have started
this process, comment out the BrailleBuildLine code so that you can refer to
it, and recompile.  This helps with diagnosing issues when implementing
braille structure support.  

I hope this saves you from some frustration!  It took a while before I could
make this work several years ago, and there were a lot of times I said OK it
should work now before it did...  The braille structure support is wonderful
though once implemented properly!  

Regards, Jon.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth
Sent: Wednesday, February 03, 2010 11-50 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: braille display sometimes shows the buttons

I can't say what would be causing spermatic working.
I will comment that I believe BrailleBuildLine() is outdated and that it is
not preferred, at least by Freedom Scientific.
If you look in Braille.jss you will find some functions specific to
structured mode starting with BrailleAdd . For example
BrailleAddObjectName(), BrailleAddObjectValue().
You may find these functions to be more reliable in structured mode.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of
marquats@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, February 03, 2010 8:45 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] braille display sometimes shows the buttons

Hi,

I have a problem with an application that sends text to a braille display
using BrailleBuildLine. The App is self-written and not published yet. It
writes the text to the screen (label), and Jaws reads the text from there.

The function AutoStartEvent contains the line:
 SetBrailleMode (BRL_MODE_STRUCTURED)

This works, but not always. Some test users have tried the program, and
they report that there is a problem with specific braille displays. Some
displays don't show the intended text but the text written on the buttons
on the App's window instead. It also seems that this error occurs sporadic
with some configurations.

I haven't found out how to correct this error. Sometimes it helps to
restart Jaws and the App, but with specific braille displays it doesn't
work at all.

Can anyone suggest to me what the reason for this behavior could be, or
what can be done about it?

Greets and thanks in advance, Thomas Marquardt


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: