[jawsscripts] Re: spelling strings

  • From: Artur Räpp <rtr@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 23 Apr 2008 21:46:30 +0300

hi,

i found in in default.jcf file section
[PhoneticSpell]
You can modify this and set y=igrecque and then use functions
SpellModeToggle (true/false) ; spell with key descriptions
SpellString

or may be you can use something similar:
--
Script test2 ()

var

string line,

string tempSegment,

int cnt,

int segments

let line = getWord()

;let line = "ygoody morningy"
let line = line + " " ; to get last y

let segments = StringSegmentCount (line, "yY")

let cnt = 0

while (cnt < segments)

let cnt=cnt+1

let tempSegment = StringSegment (line, "yY", cnt)

let tempSegment = StringTrimTrailingBlanks (tempSegment)

if (stringLength(tempSegment) > 0) then

spellString(tempSegment)

endIf

if (cnt<segments) then

sayString ("igrecque ")

delay(1)

endIf

endWhile

EndScript

--



HTH



Artur

----- Original Message ----- From: "Brian Hartgen" <Brian.Hartgen@xxxxxxxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, April 23, 2008 6:15 PM
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

Other related posts: