Re: eclipse looking for red

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sat, 6 Aug 2011 18:08:07 -0700

O, looks like u did say u use Jaws--so, sorry for missing that the 1st
go-around, 2nd, the script should work just fine for u lol.

On 8/6/11, Jackie McBride <abletec@xxxxxxxxx> wrote:
> U don't say what screenreader u use. I use Jaws, & when I need to do
> that, I write a script using FindColors(). I have a text adventure
> game I needed to do this with. The script I wrote for that looks like:
> Script FindRed ()
>
> var
> handle hw
>
> let hw = GetParent(GetFocus())
> if (hw) then
> SaveCursor()
> InvisibleCursor()
> RouteInvisibleToPc()
> moveToWindow(hw)
>
> if (FindColors(RGBStringToColor ("255000000"),ignorecolor, s_top)) then
> sayWord()
> else
> sayMessage(ot_no_disable, "red not found")
> endif
>
> else
> sayMessage(OT_NO_DISABLE, "window not found")
> Endif
> RestoreCursor()
>
> EndScript
>
> U may need to do different stuff, but the findColors() line will be the
> same.
>
> On 8/6/11, Stanzel, Susan - Kansas City, MO <susan.stanzel@xxxxxxxxxxxx>
> wrote:
>> Hi Listers,
>>
>> I posted this on the Java list and didn't get any response. In Eclipse
>> sighted folks get to look at red things on the screen. I know I have
>> heard
>> of JAWS looking for a color. Can someone give me some guidance?
>>
>> Susie Stanzel
>>
>
>
> --
> Blame the computer--why not? It can't defend itself & occasionally
> might even be the culprit
> Jackie McBride
> Ask Me Computer Questions at: www.pcinquirer.com
> Jaws Scripting training materials: www.screenreaderscripting.com
> homePage: www.abletec.serverheaven.net
>


-- 
Blame the computer--why not? It can't defend itself & occasionally
might even be the culprit
Jackie McBride
Ask Me Computer Questions at: www.pcinquirer.com
Jaws Scripting training materials: www.screenreaderscripting.com
homePage: www.abletec.serverheaven.net
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: