As far as shutting the voice up you should be able to modify the 
SayFocusedWindow() to skip speaking. are there no lables at these edit fields 
and no names?

If that is the case the only idea I can suggest in both cases is to use the 
exact physical screen location of each control to trigger if functions for 
skipping lines of your script or activating a saystring function with the 
control name.
For example, you can put this kind of thing in your Void Function 
SayFocusedWindow()

        if (hDist() == nnn && vDist() == nn) then
                ;nnn should be replaced with the correct coordinates from the test 
scripts 
below
        JAWSCursor ()
        sayString("Control one name")
        PcCursor ()

I have used the JAWS cursor here as that is an easy way to generate a different 
voice for the spoken text.

You will need the following functions in your script:
;Scripts from Joe Dunn for testing cursor location
int function hDist()
return GetWindowLeft(GetFocus())-GetWindowLeft(GetRealWindow(getFocus()))
endFunction
int function vDist()
return GetWindowTop(GetFocus())-GetWindowTop(GetRealWindow(getFocus()))
endFunction

Script test () ;attach this script to a hot key for getting PC cursor location
sayString("distance from left")
sayInteger(hDist())
sayString("distance from top")
sayInteger(VDist())
EndScript


On Friday, March 26, 1999 8:41 AM, [EMAIL PROTECTED] wrote:

>       I'm doing some script writing for an app. I've got two edit fields that
> once I reclassed them as edit fields I found I could tab to. I've got two
> problems. When I tab to the first I hear all the information that is in
> the window, for example, say there's four lines of information in that
> edit field, I hear them all, how can I block this? Secondly, I'd like to
> be able to identify these edit fields, field1 field2 for a generic
> example. The controlId's are the same, 0. Please any ideas, please e-mail.











-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to