[jawsscripts] Re: how to push SayString calls through dictionary processing?

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 22 May 2010 03:46:40 +1000

HI Paul.

hmm, wow, you are right! it does work in your test example here.
somehow it's not working in my sinario though. I'm not sure why yet, more
testing at work needs to be done, against tests I've just done here based on
your findings.
I'm wanting to use numbers rather than letters, and I want jaws to say the
phone extensions of this PcConsole Switchboard application,
as, 8 o 1, 8 o 2, 8 o 3, etc, whenever it sees, 801, 802, 803 etc.
so, i've defined all those in the dictionary, and they work very nicely so
long as I queery the frame manually with a keystroke. But, the number
strings that turn up in the NewTextEvent buffer , when I get it
automatically to do a sayString on Buffer Contents after appropriate
processing and conditional checks,
I'm not always seeming to get that, and it seems to be jumping
back to the 8 hundred 1, 8 hundred 2 type sinario. And before anyone asks, I
don't want just to set jaws to speak numbers as single digits either, for a
number of other reasons, one of them being I don't want jaws saying, zero,
as it's a two sylobal number rather than o, which is one.

I'll do some further testing though on Monday now that I know the dictionary
processing is not broken in other sayString sinarios.

Thanks very much for doing those tests for me Paul eh.
your all lifesavers out here I can tell you!

Geoff c.


----- Original Message ----- 
From: "Paul Magill" <magills@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, May 20, 2010 6:35 PM
Subject: [jawsscripts] Re: how to push SayString calls through dictionary
processing?


> Hi Geoff,
>
> - I found with the below test, using Jaws 10 on Windows XP, the contents
of
> a sayString are processed fine.
>
> Script TestAndStorageOnly () ; Control F8
>
> var
>
> string sample
>
> let sample = " sub -FRP"
>
> SayString (sample)
>
>
> End Test
>
> - the 2 items quoted in sample, are defined in my dictionary as full
words.
>
> Could what is in your variable be spelled differently to that in the
> dictionary, or if the item in the dictionary is set to case sensitive,
could
> the case be different in the variable?
>
> Regards,
> Paul from Aust
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
>
>
> Scripters. are we somehow able to push SayString calls for variables, such
> that they get processed through dictionary? at present this does not seem
to
> be the case, and they're handled just raw.
>
> thanks for any info.
>
> geoff c.
>
>
> __________�
>
> 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

Other related posts: