[jawsscripts] Re: Scripting alternative for highlight tracking if custom highlight does not work

  • From: Jerry Posey <jawsscripts@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 18 Jul 2012 09:03:27 -0500

I did this in a new SayNextLine() and SayPriorLine() script to read a
highlighted line in a popup box. I also had it inside an If IsPCCursor so
it wouldn't limit using the jaws cursor it they needed to.
Var string strText
SaveCursor
 If FindColors (RGBStringToColor ("000255255"), RGBStringToColor
("000000128"), S_TOP) ==1 Then
   RouteJAWSToPC ()
   Delay (3)
   Let strText = GetColorField ()
   SayMessage (OT_LINE, strText)
Endif
That's one way I did it.
On Wed, Jul 18, 2012 at 7:20 AM, Bram Duvigneau <bram@xxxxxxxx> wrote:

> I'm trying to let JAWS follow the highlighted row in a grid control. First
> thing I did was defining a custom highlight, but this didn't give any
> feedback when arrowing through the grid.
>
> By using insert+5 I see that the colors of the highlighted row change to
> the expected colors as defined in my custom highlight. Also, when
> alt+tabbing away from the application and back again, insert+upArrow reads
> the right row. So, it seems JAWS sees the colors, but does not respond by
> searching for a new highlight when I arrow around.
>
> So, I would like to:
> 1. Force JAWS to scan for a custom highlight when arrowing through the
> grid. Or
> 2. Write a custom script that searches for a highlight and reads it.
>
> Does anyone have some suggestions? Of course I would prefer option 1
> because this might be more stable and reliable and less work. Any example
> code as a starting point for options 2 is also highly appreciated.
>
> Thanks in advance,
>
> Bram__________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Jerry Posey
Envision Industries

*Career opportunities for people with vision loss*

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: