You have to search in the c:\jfw32\settings\enu\colors.ini file for the color name and get the related number. I'll save you some problems. Here is the script you want.
Script FindWhiteNavy ()
var
String color1,; text color
String color2; background color
Let color1 = "255255255"
Let color2 = "000000128"
If FindColors (RGBStringToColor (color1), RGBStringToColor (color2), s_top)
then
SayString ("test successful")
SayWord ()
Else
SayString ("test failed")
SayWord ()
EndIf
EndScript
If you have any questions you can write me off list.
Dave
At 11:06 PM 4/10/99 -0400 Rich De Steno Wrote:
JFW's script language has a function called findcolor() to enable you to
find a given color by a nine-digit number. Using theee insert+5 hotkey on
a certain word, JFW said the text was navy blue on gray. How do I
translate this to the required nine-digit number for the findcolor ()
function? I am trying to write a script to get the JAWS cursor to go to a
word which is printed in that navy blue color.
Rich De Steno
-
Visit the jfw ml web page: http://jfw.cjb.net
Dave Maynard
Franklin NC
[EMAIL PROTECTED] - Visit the jfw ml web page: http://jfw.cjb.net
- Script Color Function Rich De Steno
- Re: Script Color Function David Poehlman
- Re: Script Color Function Rich De Steno
- David Maynard
