[jawsscripts] Re: Jaws cursor question

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 5 Mar 2010 10:19:44 -0700

Bob, your code would look something like:
Script ClickCoordinates()
; clicks coordinates to get phone working
SaveCursor()
JawsCursor()
RouteJawsToPc()
if (moveTo(x, y)) then ;move to was successful x & y are coordinates
LeftButtonDown()
else
say("cannot move to desired coordinates.", ot_message)
endif
RestoreCursor()
EndScript

I generally do not llike move to scripts as they can be broken by
things like whether the screen is maximized & the screen resolution
has changed, but sometimes it's the only way.

1 thing I would suggest, however, is to make certain all graphics are
being spoken (go to your jaws configuration manager by pressing insert
keyboard (not numpad) 6 while in your application. Press alt s, then
g, then tab to the radio buttons for the graphics usually about 5 tabs
in. It may say speak labeled graphics, down arrow to all & press
enter. Save your changes & see if perchance jaws announces a graphic
at the location. U may also need to go back into that dialog & change
the maximum & minimum graphic height & width to larger & smaller
values, respectively to give jaws instruction to look for something
other than the default as graphics.

If there is a graphic there, then the graphic can be labeled & a
script can be written to find & click on that graphic.

HTH.



On 3/5/10, Bob Kennedy <intheshop@xxxxxxx> wrote:
> Hadn't heard of that one yet.  Thanks a bunch!
> ----- Original Message -----
> From: "Homme, James" <james.homme@xxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Friday, March 05, 2010 11:54 AM
> Subject: [jawsscripts] Re: Jaws cursor question
>
>
>> Hi Bob,
>> Try the MoveTo function.
>>
>> Jim
>>
>> Jim Homme,
>> Usability Services,
>> Phone: 412-544-1810
>> Skype: jim.homme
>> Internal recipients,  Read my accessibility blog
>>
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bob Kennedy
>> Sent: Friday, March 05, 2010 8:48 AM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Jaws cursor question
>>
>> Hi all,
>> Keep in mind I'm very new to scripting so be gentle.  hahaha
>>
>> I have a program at work that uses 2 screens.  The phone is dialed in one
>> window, and the customer info is in the other side of the window.
>>
>> You can control tab between windows with no problems.  However, in order
>> for the phone to work in the customer screen, you have to click on  an
>> area of the screen Jaws doesn't always see.
>>
>> I worked with a sighted person yesterday and the area I have to click on
>> stays in a consistent position.
>>
>> Here is my question.  Is there a way to write a script that sends the Jaws
>>
>> cursor to a know position?
>>
>> Using the alt delete keys, Jaws gives me the same coordinates each time we
>>
>> tried it.  I am not able using the normal key strokes to make the Jaws
>> cursor go to the same place.  I supposed I could write a line that
>> required the Jaws cursor to have a long series of next character commands
>> but I'd like to know if I could to go straight to a pixel position.
>>
>> I need to do a left mouse click in order to make the phone line active
>> after the phone dials the number.
>>
>> Thanks for any help.
>>
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>> This e-mail and any attachments to it are confidential and are intended
>> solely for use of the individual or entity to whom they are addressed.  If
>>
>> you have received this e-mail in error, please notify the sender
>> immediately and then delete it.  If you are not the intended recipient,
>> you must not keep, use, disclose, copy or distribute this e-mail without
>> the author's prior permission.  The views expressed in this e-mail message
>>
>> do not necessarily represent the views of Highmark Inc., its subsidiaries,
>>
>> or affiliates.
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //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
> //www.freelists.org/list/jawsscripts
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
www.abletec.serverheaven.net
Please join me Saturday, 11/7, on my walk against breast cancer by
making a donation at:
http://main.acsevents.org/goto/larkspur>
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: