[jawsscripts] best way to display text on braille display?

  • From: marquats@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 24 Jul 2009 11:57:20 +0200 (CEST)

Hi all,

I have written a script for a self-written Application. The Application
shall display text on a braille display, and accept braille text entered
using the braille keys on the braille display.

Somehow the stuff doesn't work properly.

To display text, I call
BrailleMessage (text, 0, 1000000)
in the function NewTextEvent().

The intention is that the braille display shall display only the text
which is sent to it, and nothing else. It shall not display e.g. the text
on the buttons on the Application's window or something else. For this I
use a message which is to be displayed a long time (argument 1000000), so
that it constantly shows until the next message is displayed by a call of
BrailleMessage().

This works in principle, but I suspect that this concept of long-lasting
messages might cause trouble.

To enter braille text into the App, i use a script for every combination
of braille keys to be pressed. Example script:

Script BrF34 ()
TypeKey ("d")
TypeKey ("f")
TypeKey("Control+Alt+p")
EndScript

This is called whenever the user presses the braille keys F3 and F4 (dots
1 and 2), thus entering a 'b'.

This also works in principle. But the App doesn't always work properly on
all computers it is installed on. It is used with Jaws 6.20 currently. We
have installed it on four computers, and on three it doesn't work, on the
fourth it works only for five minutes, then Jaws has to be restarted.

My question is, what could be the reason for it? Maybe the method of
long-lasting braille messages mentioned above is improper and causes the
problem? What other way is there to display text on the braille display
and supress all other output on the braille display? Or could there be
some other reason?

Sorry for this long talk, but I don't know how to explain it shorter.


Greetings and thanks for your efforts, 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

Other related posts:

  • » [jawsscripts] best way to display text on braille display? - marquats