[jawsscripts] Re: Bringing PC cursor to a listview

  • From: "Dean Masters" <dwmasters@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 14 Feb 2008 13:24:19 -0500

Is there a script somewhere that shows how this all works? then I might be
able to use it as an example for what I need.

thanks,
Dean

----- Original Message -----
From: "Marlon Brandão de Sousa" <splyt.lists@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, February 12, 2008 3:34 PM
Subject: [jawsscripts] Re: Bringing PC cursor to a listview


> As Bryan suggested you use setFocus. You can do a function which gets
> an integer as index and makes a if.
> if index = 1 then focus the listview
> if index = 2 then focus one botton.
> if index = 3 then focus the other button.
>
> Then you can write a script to handle tab and shift+tab keys and
> increment or decrement a global integer and after this you call your
> function passing this integer as parameter.
> Note that doing this will require testing what window you are in,
> thiis function will need to be called if you're in the listview and
> bottons screen.
> Marlon
>
> 2008/2/12, Bryan Garaventa <bgaraventa11@xxxxxxxxxxxxxx>:
> > Use SetFocus to focus to each using the window handle. That should do
the
> > trick.
> >
> > ----- Original Message -----
> > From: "Martin Courcelles" <martinfc@xxxxxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Tuesday, February 12, 2008 11:44 AM
> > Subject: [jawsscripts] Bringing PC cursor to a listview
> >
> >
> > > Hello there,
> > > I'm trying out a program which has a listview and 2 buttons.
Presently,
> > > Jaws
> > > will only cycle through the two buttons when tab is pressed.  I can
bring
> > > the
> > > PC cursor to the listview by pressing a left mouse click on one of the
> > > elements of the listview.  Is there any way where i could get Jaws to
> > > cycle
> > > through all 3 areas?  I need to highlight one of the items in the
listview
> > > before I can use any of the buttons.  Jaws does recognize that there
is a
> > > listview.
> > >
> > > Any ideas would be greatly appreciated.
> > > Cheers,
> > > Martin
> > >
> > >
> > > __________
> > > View the list's information and change your settings at
> > > //www.freelists.org/list/jawsscripts
> > >
> >
> > __________
> > View the list's information and change your settings at
> > //www.freelists.org/list/jawsscripts
> >
> >
>
>
> --
> When you say "I wrote a program that crashed Windows," people just
> stare at you blankly and say "Hey, I got those with the system, for
> free."
> Linus Torvalds
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>

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

Other related posts: