Hello,
        This is my first post for about three weeks+ because I have been out of
town, I hope I haven't missed much. I did not want to post a request for
help on my first post back, but rather hopefully some helpful solution to
a problem, however, I'm stuck on the following script problem.
        I'm trying to get prompts in an app to read. I've got a script,
SayPrompt ), see below, actually has since been converted to a function,
that does exactly what I need. I asigned it to insert f5 for testing
purposes. Finding that it worked, I tried to asign it to the tab key, by
opening keyboard manager, going to options, then hotkeys, and checking
the tab checkbox. I said ok, exited out, changed the key from insert f5
to tab, then went back in to the hotkeys dialog and unchecked the
checkbox.
        However, now when I press tab the field is read, as it should be, but
the next time I press tab I'm stuck in that field. Suggestions welcome.
Thanks.
Great to be back.
Dave.
Void Function SayPrompt ()
SaveCursor ()
JAWSCursor ()
RouteJAWSToPc ()
PriorChunk ()
SaveCursor ()
InvisibleCursor ()
RouteInvisibleToJAWS ()
SayChunk ()
RestoreCursor ()
RestoreCursor ()
PcCursor ()
EndFunction

Script NextField ()
If (GetWindowClass (GetAppMainWindow (GetFocus ())) == "AwtFrame") then
SayPrompt ()
Else
{tab}
SayString ("tab")
EndIf
EndScript
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to