Hi Gianni, The FindColors function requires what FS calls color values as parameters. These are integers, and to see how to get them from RGB strings, look at the RGBStringToColor function. hth Martin ----- Original Message ----- From: "GianniP46" <giannip46@xxxxxxxxxxxxx> To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx> Sent: Monday, July 27, 2009 3:33 AM Subject: [jawsscripts] FindColors > 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 > //www.freelists.org/list/jawsscripts > -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.31/2264 - Release Date: 07/26/09 11:07:00 __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts