[jawsscripts] Re: Typing echo

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 2 Feb 2020 12:56:18 -0500

This is one of a few reasons I don't attach scripts to plain letters or other 
typeable characters. I may sometimes handle them in KeyPressedEvent to add 
functionality though. When doing that, make sure your test for "is this
my case for special behavior" does not require much execution time, so your 
event won't slow things down.

On Sun, Feb 02, 2020 at 03:50:32PM -0000, Steve Spamer wrote:
Hi folks. I'm trying to understand what seems to be a simple thing regarding
typing echo, but currently failing.  BTW, This is only when focus is in an
edit field.

As an example, imagine the letter keys H, E and L do not have any custom
script associated with them, but the letter O does. So:
When typing echo is set to characters:
Typing the word "hello" would announce each letter as expected. This is
because H, E and L are not scripted, and the O key script first checks to
see if we're in an edit fieldand says the key name, along with a
TypeCurrentScriptKey.

When typing echo is set to both characters and words:
Typing the word "hello" would announce "h, e, l, l,", then the word "hell"
when the O key is pressed. A further press of the spacebar would then
announce "o".

When typing echo is set to words:
Typing the word "hello" wouldn't announce the letters "h, e, l, l,", but
finally pressing the letter "o" would announce "hell", instead of "hello".
A further press of the spacebar would announce "o".

So, the issue is surrounding the speaking of the typed input when typing
echo is set to both characters and words or words.
If all keys pressed are not scripted, then all is fine, but if a key is
pressed that has a custom script associated with it, then Jaws is seeing
this as a word, so it will announce the previous text.

If I only pressed a key with a custom script associated with it, then Jaws
sees this as a word, and will only announce this letter with any further key
press.

I know this is difficult to explain, but I hope you get the idea.  I don't
have a KeyPressedEvent in the scripts, and maybe this is the issue?  The
thing is, I want typing to work at a default level when in an edit field,
but for all other situations the scripts have to come into play.

I hope someone has an idea on what I need to do to sort this out.  THx best
steve.




Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with
Samplitude in Windows: www.samplitudeaccess.org.uk

__________�

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

-- 
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and 
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was done." 
--Helen Keller
__________�

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

Other related posts: