Also, UIA scripting has allot of events you can watch for and tie into like change in focus. On a focus change you could perhaps test to see if you want to move the object and if so move it, else skip it.
Rick USA----- Original Message ----- From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx>
To: <program-l@xxxxxxxxxxxxx> Sent: Wednesday, June 04, 2014 4:20 PMSubject: [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.
The standard windows controls all implement UIA. Also programs that are written using the WPF have UIA capability (although the developers often do not do the work to actually associate the needed text with the controls, the control navigation itself is present). There is also a bridge that translates programs that only implement MSAA to a UIA model, but with much less information than UIA is able since MSAA simply doesn't provide as much. For programs that have created their own controls or frameworks it is entirely program dependent as to whether accessibility information is available, but there also aren't a lot of such programs since implementing lots of self-drawing window classes is not a trivial task, especially when dealing with drawing text. On 6/4/14, Homme, James <james.homme@xxxxxxxxxxxx> wrote:Hi, Is UIA in use generally in Windows controls themselves, or is its use application-dependent? Thanks. Jim -----Original Message-----From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx]On Behalf Of Soronel Haetir Sent: Wednesday, June 04, 2014 11:32 AM To: program-l@xxxxxxxxxxxxx Subject: [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. The main thing that makes scripting visual studio tricky is limiting your scripts to just the parts of the interface that you are interested in. The actual UIA objects work very well. And something to keep in mind about scripting SQL Server Management Studio is that it is actually built on the visual studio isolated shell so I would expect scripting that to be quite a bit easier, since you would not have nearly as many potentially colliding UI areas to eliminate. On 6/3/14, RickUSA <ofbgmail@xxxxxxxxx> wrote:Hi: Cant thelp with that but are you scripting Visual Studio? I tried it using WindowEyes Scripting language and even UIA but found it quite complicated. If scripting for jaws how well does JAWS Scripting language work to script Visual Studio? I am thinking of if scripting of Sql Server and other MS packages would be possible in JAWS. Rick USA ----- Original Message ----- From: "Kerneels Roos" <kerneels@xxxxxxxxx> To: "Program-l" <program-l@xxxxxxxxxxxxx> Sent: Wednesday, June 04, 2014 3:45 AMSubject: [program-l] How to get JAWS to act on cursor movement in VS 2013if 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, thenJAWS seems to know that the cursor moved if I press Alt+Del, but nothingis 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 cursormoved, but it does not speak what it should - almost as if speech outputis 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, butit 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 theresources to embark on a full study of this since usually all works wellenough. 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** 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-- Soronel Haetir soronel.haetir@xxxxxxxxx ** 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. Ifyou have received this e-mail in error, please notify the sender immediatelyand 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.-- Soronel Haetir soronel.haetir@xxxxxxxxx ** 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
** 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