[program-l] Re: How to get JAWS to act on cursor movement in VS 2013 if the movement is caused by something other than the arrow keys.

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 4 Jun 2014 12:05:19 +0000

Hi,
I'd have to look this up in the FSDN reference, but I think you might want 
caret moved event, which is one word.

Thanks.

Jim


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Kerneels Roos
Sent: Wednesday, June 04, 2014 3:45 AM
To: Program-l
Subject: [program-l] How to get JAWS to act on cursor movement in VS 2013 if 
the movement is caused by something other than the arrow keys.

Hi there.

I was wondering if anyone here could perhaps help me with a JAWS
scripting issue. In VS 2013, when the cursor in the code editor moves, but
the move is caused by something other than the usual move actuators,
then JAWS seems to know that the cursor moved if I press Alt+Del, but
nothing is spoken
when the move happens.

Alt+Del reveals that the cursor is the PC cursor, and the line number,
hence JAWS is aware of the line change, but no actual content is voiced
when the line change via a cursor movement due to something other than
the arrow keys.

For example, if I move the cursor with the arrow keys, then each new
line or character or whatever is read properly, but if I move the
cursor through say a plugin VsVim then JAWS can detect that the cursor
moved, but it does not speak what it should - almost as if speech output
is only
tied to the conventional move actuators - arrow keys in this case.

VsVim would move the cursor when the focus is in the code editor, when
VsVim is in normal mode (by pressing esc key), and one of the VsVim
movement chars is hit (j for down, k for up, h for left, l for right) -
for example.

I had a look at the standard JAWS scripts from FS for VS, and there is
quite a bit of code there, so this might also be interfering in some way.

I noticed that this event:

either does not fire or is suppressed by other code in the scripts.

So, my question is this:
1. Are there any other events I could handle, events that fire when the
PC cursor is busy editing something and moving around.
2. How can I detect that the focus is in the code editor or output window?
3. Are there some settings in JAWS I could give a try? I have noticed
about a year before that Braille actually keeps up with the actual
cursor position, no matter if the cursor position changed due to the
usual position changers (arrows) or due to something else. At the time I
was unable to cause all Braille to be read out, which might be an
option, but it would be nice to have it working without requiring a
Braille display.

Any other helpful hints or info would be much appreciated. I don't know
too much about JAWS scripting in general, and I don't really have the
resources to embark on a full study of this since usually all works well
enough.

Regards,
Kerneels


--
Kerneels Roos
Cell: +27 (0)79 696 6038
Tel: +27 (0)811 2108
LinkedIn: http://za.linkedin.com/in/kerneels

Skype: cornelis.roos

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

________________________________

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, its diversified business, or affiliates.

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: