Steve,

I assume you are talking about the Database form view?
I have written some scripts for Works 4 to run with JAWS version 3.0083 so have 
some experience with Works and to be honest, I have completely ignored the 
database.  I found that in previous versions it was one of the weakest parts of 
Works so moved to a different database program and concentrated on the 
spreadsheet and wordprocessor.

Anyway, I had a look at the database this evening. Assuming you do not already 
have a SayHighLightedText  function in your script, copy the following lines 
into your Works script:

Void Function SayHighLightedText (handle hwnd, string buffer)
        if (GetWindowClass (GetFirstWindow (GetCurrentWindow ()))) == 
"MSWorks4.Doc.Database" then
        RouteJAWSToPc ()
        JAWSCursor ()
        SayToCursor ()
        PcCursor ()
        SayString(buffer)
ELSE
        SayString(buffer)

EndIf
EndFunction

Essentially, this script moves the jaws cursor to the pc cursor and reads any 
text that is to the left.  Bearing that in mind, it is essential that you place 
all your fields in one column with the label to the left of the data field. 
 Having said that, it may be possible to move the jaws cursor into a label area 
and use the getchunk function to isolate a label from other text on the same 
line.

If you do have a say highlighted text function you will have to figure out 
where this statement can go within the function

Just in case your interested, my scripts do not work with ver 3.2.

Hope it helps,
Daine


On Wednesday, January 27, 1999 7:02 PM, [EMAIL PROTECTED] 
[SMTP:[EMAIL PROTECTED]] wrote:

From: "Steve Metcalfe" <[EMAIL PROTECTED]>
Date: Wed, 27 Jan 1999 14:34:46 -0000

Hi,
I urgently need to create a script to enable feild names to be spoken
when tabbing around fields in Works 4.  Can someone tell me how
this can be done, or even better, does anyone have any scripts that
they have already created for use with Works.  Any help would be
gratefully received.

Cheers, Steve.


Steve Metcalfe
Head of Disability Access Resources and Technology
University of Lincolnshire & Humberside, UK
Tel: +44 (0)1482 440550 ext. 3300
Fax: +44 (0)1482 463531
EMail [EMAIL PROTECTED]


-
Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw

Reply via email to