Nvda, vscode, markdown, and double-clicking with the mouse on the...system caret?


Tara Roys
 

I'm using nvda to write markdown documents with loads of links in vscode.  

Vscode has a markdown previewer.  It's much nicer to have vscode read the text in the previewer because my text has boatloads of links, and I can have nvda turn off the 'link' speech and just have it read the content like a regular sentence, instead of having nvda read out the markdown with all the brackets and links and such. This makes it much easier to spot awkward phrasing, mispellings, doubled words, and just content in general.  

The vscode markdown viewer has the property that if you double-click with the left mouse button on a word, it will switch you to the tab with your raw markdown and put your cursor on the line of the word you clicked.  

So the workflow I really want is to be in the vscode markdown previewer, press NVDA-down to read all, press shift to pause the reading, and then...

Here's the bit I don't know how do: 

I want to doubleclick on the word I stopped the reading on. I hazard a guess that it might be possible to somehow magically move the mouse to the place where it stopped reading and press NVDA-[-[ to do a double left-click, or...somehow let nvda know that the word I stopped on is a word I want to double-click in the Graphical User Interface.  I tried just pressing 'spacebar' but that didn't work.

So is this possible, and if so how would I do it?  

Thanks! 


Jacob Kruger
 

Read-all - shift to pause, NVDA+numpad / to route mouse cursor to current position, and then just numpad / twice-over to double-click?


Just tried that in notepad itself, and it selected the word had paused reading on, which is what double-click would have done there anyway?


Jacob Kruger
Skype: BlindZA
"...resistance is futile...but, acceptance is versatile..."
On 2022/11/18 10:28, tlroys@... wrote:

I'm using nvda to write markdown documents with loads of links in vscode.  

Vscode has a markdown previewer.  It's much nicer to have vscode read the text in the previewer because my text has boatloads of links, and I can have nvda turn off the 'link' speech and just have it read the content like a regular sentence, instead of having nvda read out the markdown with all the brackets and links and such. This makes it much easier to spot awkward phrasing, mispellings, doubled words, and just content in general.  

The vscode markdown viewer has the property that if you double-click with the left mouse button on a word, it will switch you to the tab with your raw markdown and put your cursor on the line of the word you clicked.  

So the workflow I really want is to be in the vscode markdown previewer, press NVDA-down to read all, press shift to pause the reading, and then...

Here's the bit I don't know how do: 

I want to doubleclick on the word I stopped the reading on. I hazard a guess that it might be possible to somehow magically move the mouse to the place where it stopped reading and press NVDA-[-[ to do a double left-click, or...somehow let nvda know that the word I stopped on is a word I want to double-click in the Graphical User Interface.  I tried just pressing 'spacebar' but that didn't work.

So is this possible, and if so how would I do it?  

Thanks! 


 

I will again suggest considering:  Creating a Blind-Friendly Hobbled Mouse or Mousepad (docx)

It makes anything related to actual clicks so much easier and more reliable.  You have the real left and right click without any danger of unintended movement of the mouse pointer.  You still have to do the routing step, though.
--

It used to be understood that if you published and profited from a mass media platform you should also be responsible for its content. That idea is nowadays considered quaintly archaic. There is no real accountability, and almost limitless ability to post any kind of ridiculous and scurrilous nonsense. God help us.

       ~ Ross Goldbaum, Letter to the New York Times,

          Regulating Media: It’s Now Seen as a Quaint Idea, November 13, 2022


Gene
 

The way to do this in NVDA is to have the object navigator where you want to move the mouse.  Then, the desktop command to route the mouse is numpad insert numpad slash.  Hold numpad insert and press slash.  The mouse may or may not move.  If it moves, you may hear the text spoken that the mouse has moved to.  Then use numpad slash to click the mouse. 

The default in NVDA is to move the object navigator to where you are working so if you are moving in a document, the object navigator should be where you are.  If that is the case, you need only use the route mouse command and the left click command. 

I don't know the laptop commands. 

Also, I don't know if this procedure works in screen review mode.

I'm not sure I understand what Brian was describing.  If I do, he is saying to move the mouse as I described, but to left click using an actual mouse left click with a physical mouse or on a laptop, the left click button on the touch pad.  You may want to confirm my understanding, Brian.

Gene

On 11/18/2022 2:28 AM, tlroys@... wrote:

I'm using nvda to write markdown documents with loads of links in vscode.  

Vscode has a markdown previewer.  It's much nicer to have vscode read the text in the previewer because my text has boatloads of links, and I can have nvda turn off the 'link' speech and just have it read the content like a regular sentence, instead of having nvda read out the markdown with all the brackets and links and such. This makes it much easier to spot awkward phrasing, mispellings, doubled words, and just content in general.  

The vscode markdown viewer has the property that if you double-click with the left mouse button on a word, it will switch you to the tab with your raw markdown and put your cursor on the line of the word you clicked.  

So the workflow I really want is to be in the vscode markdown previewer, press NVDA-down to read all, press shift to pause the reading, and then...

Here's the bit I don't know how do: 

I want to doubleclick on the word I stopped the reading on. I hazard a guess that it might be possible to somehow magically move the mouse to the place where it stopped reading and press NVDA-[-[ to do a double left-click, or...somehow let nvda know that the word I stopped on is a word I want to double-click in the Graphical User Interface.  I tried just pressing 'spacebar' but that didn't work.

So is this possible, and if so how would I do it?  

Thanks! 



 

On Fri, Nov 18, 2022 at 02:44 PM, Gene wrote:
I'm not sure I understand what Brian was describing.  If I do, he is saying to move the mouse as I described, but to left click using an actual mouse left click with a physical mouse or on a laptop, the left click button on the touch pad.  You may want to confirm my understanding, Brian.
-
That would be correct.  And while this is not necessarily easier when a single left click is needed, it's way easier to get an accurate double-click action via a mouse than trying to emulate it with two quick left mouse click commands.  You can almost never get the two emulated clicks to occur quickly enough.

I really wish that those who are in blind technology education would stop with the "you can't touch the mouse" stuff and teach those who are blind how to modify the mouse or mousepad so that native button functions remain available while movement of the mouse pointer is prevented.  It's just so darned easy.
 
--

It used to be understood that if you published and profited from a mass media platform you should also be responsible for its content. That idea is nowadays considered quaintly archaic. There is no real accountability, and almost limitless ability to post any kind of ridiculous and scurrilous nonsense. God help us.

       ~ Ross Goldbaum, Letter to the New York Times,

          Regulating Media: It’s Now Seen as a Quaint Idea, November 13, 2022


Brian's Mail list account
 

The issue of course is nobody wants to glue a mouse to a bit of wood so only the buttons and scroll wheel work. I have tried sticky tape, but that is not reliable on optical mouses, Mice.
So on my desktop I have to basically use the keyboard.
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Brian Vogel" <britechguy@...>
To: <nvda@nvda.groups.io>
Sent: Friday, November 18, 2022 7:57 PM
Subject: Re: [nvda] Nvda, vscode, markdown, and double-clicking with the mouse on the...system caret?


On Fri, Nov 18, 2022 at 02:44 PM, Gene wrote:


I'm not sure I understand what Brian was describing. If I do, he is
saying to move the mouse as I described, but to left click using an actual
mouse left click with a physical mouse or on a laptop, the left click
button on the touch pad. You may want to confirm my understanding, Brian.
-
That would be correct. And while this is not necessarily easier when a single left click is needed, it's way easier to get an accurate double-click action via a mouse than trying to emulate it with two quick left mouse click commands. You can almost never get the two emulated clicks to occur quickly enough.

I really wish that those who are in blind technology education would stop with the "you can't touch the mouse" stuff and teach those who are blind how to modify the mouse or mousepad so that native button functions remain available while movement of the mouse pointer is prevented. It's just so darned easy.

--

It used to be understood that if you published and profited from a mass media platform you should also be responsible for its content. That idea is nowadays considered quaintly archaic. There is no real accountability, and almost limitless ability to post any kind of ridiculous and scurrilous nonsense. God help us.

~ Ross Goldbaum, Letter to the New York Times ,

*Regulating Media* : It’s Now Seen as a Quaint Idea ( https://www.nytimes.com/2022/11/13/opinion/letters/lgbt-gay-queer.html?unlocked_article_code=Cl2WWm1HQ_zCiKdsJsYVPe7BCcvGmpAR4XYhXOT65_klpe4W5ZE5yKLwxjjj5FOKbJvCqJRyAkEe4CyWWBKaPbA8VD56UGKLnRTzuR2OMPQNRAG48gD9LEWkg70cspvjFJTxkmAQwp0LD5oGQy1QAuaclTYVJQg8lbv0oFv67C5YQe-Xu2OEExFOsgMn262oX4rGs3e9a0qcNAXXDOGe7yCfqduZpjuGX5SvdUcsdzbvl0ywgXPDNtu7-kLwGhfXM62S_dC5i4IcdI79tVQADle0d4bV1XR4O75HB-knCzhBZt7-VnT2bDGpjvbNqiaGla9kEdBPpWoe0jmJE0kF&smid=share-url ) , November 13, 2022


Tara Roys
 

Thanks for all your help!  The keyboard shortcuts you suggested did work to double-click where I wanted to click.  However, I found a simpler way to get what I wanted without switching tabs or using the mouse because another thread here let me in on the fact that the dictionary can use regexes to silence things I wanted silenced.  

If y'all want to hear what I did with y'all's help, I posted a demo of it on youtube.  I duct-taped together NVDA and Talon voice control to have an eyes-free and hands-free text-editing experience.  The software I wrote to wire togethter the two systems is very much in alpha stage, but I am ridiculously chuffed with how well it's turned out so far.  

https://youtube.com/playlist?list=PLOChdnCXLga7yg9NmHSvoJaWnhDcvnzae


On Sat, Nov 19, 2022 at 3:59 AM Brian's Mail list account via groups.io <bglists=blueyonder.co.uk@groups.io> wrote:

The issue of course is nobody wants to glue a mouse to a bit of wood so only
the buttons and scroll wheel work. I have tried sticky tape, but that is not
reliable on optical mouses, Mice.
 So on my desktop I have to basically use the keyboard.
 Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "Brian Vogel" <britechguy@...>
To: <nvda@nvda.groups.io>
Sent: Friday, November 18, 2022 7:57 PM
Subject: Re: [nvda] Nvda, vscode, markdown, and double-clicking with the
mouse on the...system caret?


On Fri, Nov 18, 2022 at 02:44 PM, Gene wrote:

>
> I'm not sure I understand what Brian was describing. If I do, he is
> saying to move the mouse as I described, but to left click using an actual
> mouse left click with a physical mouse or on a laptop, the left click
> button on the touch pad. You may want to confirm my understanding, Brian.

-
That would be correct. And while this is not necessarily easier when a
single left click is needed, it's way easier to get an accurate double-click
action via a mouse than trying to emulate it with two quick left mouse click
commands. You can almost never get the two emulated clicks to occur quickly
enough.

I really wish that those who are in blind technology education would stop
with the "you can't touch the mouse" stuff and teach those who are blind how
to modify the mouse or mousepad so that native button functions remain
available while movement of the mouse pointer is prevented. It's just so
darned easy.

--

It used to be understood that if you published and profited from a mass
media platform you should also be responsible for its content. That idea is
nowadays considered quaintly archaic. There is no real accountability, and
almost limitless ability to post any kind of ridiculous and scurrilous
nonsense. God help us.

~ Ross Goldbaum, Letter to the New York Times ,

*Regulating Media* : It’s Now Seen as a Quaint Idea (
https://www.nytimes.com/2022/11/13/opinion/letters/lgbt-gay-queer.html?unlocked_article_code=Cl2WWm1HQ_zCiKdsJsYVPe7BCcvGmpAR4XYhXOT65_klpe4W5ZE5yKLwxjjj5FOKbJvCqJRyAkEe4CyWWBKaPbA8VD56UGKLnRTzuR2OMPQNRAG48gD9LEWkg70cspvjFJTxkmAQwp0LD5oGQy1QAuaclTYVJQg8lbv0oFv67C5YQe-Xu2OEExFOsgMn262oX4rGs3e9a0qcNAXXDOGe7yCfqduZpjuGX5SvdUcsdzbvl0ywgXPDNtu7-kLwGhfXM62S_dC5i4IcdI79tVQADle0d4bV1XR4O75HB-knCzhBZt7-VnT2bDGpjvbNqiaGla9kEdBPpWoe0jmJE0kF&smid=share-url )
, November 13, 2022












 

On Sat, Nov 19, 2022 at 04:59 AM, Brian's Mail list account wrote:
I have tried sticky tape, but that is not reliable on optical mouses, Mice.
-
Then you haven't tried enough, or good enough.  I have yet to have a piece of electrical tape come loose, and I've known some who used duct tape, which I don't recommend because if you want it to come loose it's a mess to deal with after it's been in place for a long time.  Tape is by far and a way the most reliable option on an optical mouse.  I've even gotten months and months out of a piece of wide masking tape (which slides quite easily as well).

This is not "rocket science" and it is simple to do, and effectively, if it's something you choose to do.
--

It used to be understood that if you published and profited from a mass media platform you should also be responsible for its content. That idea is nowadays considered quaintly archaic. There is no real accountability, and almost limitless ability to post any kind of ridiculous and scurrilous nonsense. God help us.

       ~ Ross Goldbaum, Letter to the New York Times,

          Regulating Media: It’s Now Seen as a Quaint Idea, November 13, 2022


 

On Sat, Nov 19, 2022 at 07:18 AM, Tara Roys wrote:
because another thread here let me in on the fact that the dictionary can use regexes to silence things I wanted silenced.
-
Thrilled to hear that!!

Not that you need it, but for others who might be interested: Using the NVDA Dictionaries with Regular Expression Matching to Change Pronunciations (docx)

 

Of course, if the change wanted is "say nothing" the replacement string is left blank. 
--

It used to be understood that if you published and profited from a mass media platform you should also be responsible for its content. That idea is nowadays considered quaintly archaic. There is no real accountability, and almost limitless ability to post any kind of ridiculous and scurrilous nonsense. God help us.

       ~ Ross Goldbaum, Letter to the New York Times,

          Regulating Media: It’s Now Seen as a Quaint Idea, November 13, 2022