[jawsscripts] Re: issues when using the jaws and pc cursor

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 04 Jan 2010 17:09:43 -0500

Hi Sean:

A few things I would try.
It would be best to explicitly activate the Jaws cursor and then route
Jaws to pc.  I notice in the fsdn that RouteJawsToPc does not claim to
activate the Jaws cursor.

I would use two save cursors one immediately, to save the active cursor
and one after the  JawsCursor function call to save the position of the
Jaws cursor.  

then routeJawsToPC

Now instead of the Performscript on SayPriorCharacter, I would use a
PriorCharacter () function call.
Now maybe a Pause () or Delay () function and then the next
PriorCharacter () function call.

You should be able to do the clicks without a pause between them but
you can experiment with that to see.

The RestoreCursor functionality will happen automatically when the
script terminates so you do not need to worry about that.  Doug has said
in the past that this is Marginally more efficient.

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité 
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779 

>>> "Sean Farrow" <sean.farrow@xxxxxxxxxxxxxxxx> 07:08 am Monday,
January 04, 2010 >>>
Hi: 
I am needin to use the jaws cursor to clickon a graphic:

If i manually do a route jaws to pc, and then move back two characters
and
then do two left mouse clicks, this works.

If i try and automate this, assuming the pc cursor is active:

SaveCursor ()

 

RouteJAWSToPc ()

PerformScript SayPriorCharacter()

PerformScript SayPriorCharacter()

LeftMouseButton ()

LeftMouseButton ()

RestoreCursor ()

It actually collapses the tree view to the prior level.

Anyone got any ideas, the invisible cursor doesn't work and labelling
the
graphic doesn't seem a viable option either, as there are several
graphics
with the same numeric identifiers.

Cheers

Sean.

 



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