[jawsscripts] Is there a better way to do this
- From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
- To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx>
- Date: Fri, 24 Jul 2009 03:59:34 -0400
OK guys,
I made a big discovery in my program scratchlive tonight. I found out that the
remaining time is displayed in graphics that could be labeled. with the digits
from 0 through 9. I tried to create a frame around these 5 graphics for each
deck, but the frames wouldn't read. I then created the following script, but I
want to know if there is a better way of doing this. Jaws reads the info
slowly. Also, the other thing that I don't like is that the remaining time is
red in single digits. I would like it to be red in pares. Here is the code:
Script TimeRemainingLeftDeck ()
Var
String Digit1,
String Digit2,
String Digit3,
String Digit4,
String Digit5
MoveToFrame ("TimeRemainingLeftDeck")
Let Digit1 = GetWord ()
NextWord ()
Let Digit2 = GetWord ()
NextWord ()
Let Digit3 = GetWord ()
NextWord ()
Let Digit4 = GetWord ()
NextWord ()
Let Digit5 = GetWord ()
SayString ("There are")
SayString (digit1)
SayString (digit2)
SayString ("minutes")
SayString (digit3)
SayString (digit4)
SayString ("Point")
SayString (Digit5)
SayString ("Seconds left in the track on the left deck")
EndScript
I am using Jaws 10.
Gian Pedulla
GianniP46@xxxxxxxxxxxxx
LETS! GO! METS!
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
Other related posts: