[jawsscripts] Re: move to frame broken

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 2 Mar 2009 14:02:14 -0500

The MoveTo functions all switch to the JAWS cursor if the PC cursor was 
active if the frame (or whatever you are attempting to move to) is found. 
The RouteJAWSToPC function would then "undo" the move!  The PCCursor 
statement should not be necessary either.  The LeftMouseButton should move 
the PC cursor to the frame and make the PC cursor the active cursor.  But 
placing it after the mouse click would not hurt.  These MoveTo functions 
also return a value of True if the move was successful.  Therefore, I always 
place them as the condition in an If statement.  Then JAWS can announce the 
error.  Try the following:

include "HjConst.jsh"

Script OtsAV ()

If MoveToFrame ("playlist") Then
    LeftMouseButton ()
    PCCursor ()
Else
    SayMessage (OT_ERROR, "playlist frame not available!")
EndIf

EndScript


Don Marang


----- Original Message ----- 
From: "Desyree Vaughn" <desyree@xxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, March 02, 2009 10:51 AM
Subject: [jawsscripts] move to frame broken


> when I use move to frame function it does not move the cursor like it 
> should any ideas?
> include "HjConst.jsh"
>
> Script OtsAV ()
>
> MoveToFrame ("playlist")
>
> RouteJAWSToPc ()
>
> PCCursor ()
>
> LeftMouseButton ()
>
> EndScript
>
>
>
> thanks
>
> Desyree
>
>
>
> __________
> 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: