[jawsscripts] Re: String question
- From: "James Panes" <jimpanes@xxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 07:30:05 -0500
Hi Gian,
What you will have to do is find the second white space in your string and chop
off everything before it.
Good luck with that.
Regards,
Jim
jimpanes@xxxxxxxxx
jimpanes@xxxxxxxxxxxx
"Everything is easy when you know how."
----- Original Message -----
From: GianniP46
To: jawsscripts@xxxxxxxxxxxxx
Sent: Tuesday, November 20, 2007 1:09 AM
Subject: [jawsscripts] String question
OK,
I have an app. that I want to modify the say next and say prior line pc cursor
scripts. For example, if I am going to the next line, I want Jaws to read the
whole line minus the first two words. is there a way to get a line then chop
off the first two words and then have jaws speak the rest of the line?
I was able to do it with chopping characters, but not with words. My function
is below.
Void Function SayToEndOfLine ()
var
string Line,
STRING PartLine
LET Line = GetLine ()
Pause ()
;SayString ("Fired")
LET PartLine = StringChopLeft (Line, 6)
Pause ()
SayString (PartLine)
EndFunction
How can I do words instead of characters?
THANKS!
Gian Carlo Pedulla
GianniP46@xxxxxxxxxxxxx
LETS! GO! METS!
- References:
- [jawsscripts] String question
- From: GianniP46
Other related posts:
- » [jawsscripts] String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- » [jawsscripts] Re: String question
- [jawsscripts] String question
- From: GianniP46