[jawsscripts] Re: spelling strings

  • From: "Huskins, Wayne" <Wayne.Huskins@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 23 Apr 2008 13:27:10 -0300

As an alternative to the suggestion from Travis,  
How about creating a fuction that loops through the string one character
at a time. Use StringLength to find the length,  and then exract each
character in turn with SubString().
Add the extracted character plus a space  to an output string replacing  y with 
igrecque 
As required and when done speak the string

The output string would look like
"h a p p igrecque  W e d n e s d a igrecque"

Wayne
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Travis Roth
Sent: April 23, 2008 12:33
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: spelling strings

I'd suggest creating a fuction that loops through the string one character
at a time. Use StringLength to find the length,  and then exract each
character in turn with SubString().

Do a test for the letter in question and if found say the alternative, if
not then just speak the character.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Brian Hartgen
Sent: Wednesday, April 23, 2008 10:16 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] spelling strings

Hi

I have a string of text which I would like to be spelled out.  However
whenever the letter Y occurs I want jaws to say igrecque rather than the
letter Y.  While I could use the string replace function to replace the
character with the word itself, clearly this will not help as spelling
the string will just spell out the word igrecque.  I will find a
solution around this I am sure, but given that this must be a fairly
common problem I would have thought someone would have found a way
around it and if so what was the solution please?

Thank you.

Brian Hartgen

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


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

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

Other related posts: