[jawsscripts] Re: FindColors

You shouldn't rely on the color values returned with the Insert+5 hotkey.
The color values that you really want are the ones returned by the
GetColorText() and GetColorBackground() functions.  You can write a simple
script to speak these values.  You will find that the FindColors() function
will work well with these values.
On Sun, Jul 26, 2009 at 10:33 PM, GianniP46 <giannip46@xxxxxxxxxxxxx> wrote:

> Hey Guys,
> I want to write some code that will search a line of text for a specific
> color and if it finds that  color, it will then say the word with that
> color.  Just assume the cursor is positioned at the beginning of the line.
> The color is black on Gray80 and the RGB values are 000000000 and
> 204204204.
> Here is the code that I came up with, but it doesn't work.
> FindColors (000000000, 204204204, S_NEXT, 1)
>
> SayWord ()
>
> The cursor doesn't move at all
> Any ideas?
>
> 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
>
>


__________ 
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: