FW: [nvda] NVDA Plugin Development - Get text highlighted with mouse

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FW: [nvda] NVDA Plugin Development - Get text highlighted with mouse

Joseph Lee

Hi,

If you are a member of the NVDA users lists, could you respond to this person directly please? Thanks.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Saturday, November 26, 2016 9:30 AM
To: [hidden email]
Subject: [nvda] NVDA Plugin Development - Get text highlighted with mouse

 

I'm not sure if this the correct forum, but I can attempting to get some more details on how to get the currently highlighted text so that it can be announced.  If this is the wrong, forum, please can you advise on the forums that NVDA developers look at to get this type of question answered.

Basically, I am attempting to create a simple plugin for NVDA, where NVDA is running quietly in the background, but when a specific key-sequence (say NDA+shift+A is pressed) will trigger NVDA to speak the currently highlighted text.  I've found out how to switch on and off the speak mode from a plugin, but I cannot find any API documentation on the methods available, and objects returned from the api python module.

[Background: I am working with a stroke victim who is having difficulty reading blocks of text.  He does not want a full screen reader, he just wants the contents of message bodies read out, and I've spoken to another visually impaired person who would like this type of function.]

Other observation: is it likely that I will need to create application specific plugins for different browsers?  If so, please can somebody point me to the APIs for Google Chrome, Firefox, Edge, and IE.

_._,_._,_


NVDA on groups.io

NVDA is developed by NV Access in collaboration with the community.
Get NVDA from: http://www.nvaccess.org/
Your continued donations help keep NVDA development going strong. Donate at:
http://www.nvaccess.org/donate
Other links:
Come talk with other NVDA users on irc.blufudge.net #NVDA
Get NVDA add-ons at:
http://addons.nvda-project.org/
NVDA on Facebook:
http://www.facebook.com/group.php?gid=8601265515
Get SkypeTalking for NVDA:
http://skypetalking.googlecode.com/

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#11061)
View All Messages In Topic (1)
[hidden email]
[hidden email]
Mute This Topic
New Topic
Change Your Subscription

Group Home
[hidden email]

Terms Of Service

Unsubscribe From This Group

_._,_._,_


------------------------------------------------------------------------------

_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FW: [nvda] NVDA Plugin Development - Get text highlighted with mouse

David Hilton
I also am attempting to create a small plug-in for nonvisual desktop access, there is a key command that allows the selected text to be spoken well speeches on. Insert plus up arrow speaks the currently selected text, I have been looking for a way to turn speech on and off using a plug-in, but have not found anything. Please note, if you are using the speech off command insert plus S Sierra, say all will not work properly if using the speech viewer or a braille display. There are some applications that provide this functionality already, you could look at some type of literacy software, or part of a simple text to speech or screen reading program such as when, or narrator. You could also take parts of the nonvisual desktop access program, and use them to create a program that could do the same thing. There are also programs that allow you to read the text that has been copied to the clipboard, so if you wish, you can select text, copy to the clipboard. And then have the other application read the text out loud you using the speech synthesizer. I see two methods to have this done, turn speech off. Select text. Turn speech on. Speak selection. Turn speech off. Second. Turn speech off. Select text. Copy the text to the clipboard. Then, using nonvisual desktop access or a third-party application, have the text read aloud. And then finish with speech off. There is no need to develop different applications for different web browser's, as those are handled by any nonvisual desktop access natively.

Sent from my iPhone

On Nov 26, 2016, at 12:09 PM, Joseph Lee <[hidden email]> wrote:

Hi,

If you are a member of the NVDA users lists, could you respond to this person directly please? Thanks.

 

From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent: Saturday, November 26, 2016 9:30 AM
To: [hidden email]
Subject: [nvda] NVDA Plugin Development - Get text highlighted with mouse

 

I'm not sure if this the correct forum, but I can attempting to get some more details on how to get the currently highlighted text so that it can be announced.  If this is the wrong, forum, please can you advise on the forums that NVDA developers look at to get this type of question answered.

Basically, I am attempting to create a simple plugin for NVDA, where NVDA is running quietly in the background, but when a specific key-sequence (say NDA+shift+A is pressed) will trigger NVDA to speak the currently highlighted text.  I've found out how to switch on and off the speak mode from a plugin, but I cannot find any API documentation on the methods available, and objects returned from the api python module.

[Background: I am working with a stroke victim who is having difficulty reading blocks of text.  He does not want a full screen reader, he just wants the contents of message bodies read out, and I've spoken to another visually impaired person who would like this type of function.]

Other observation: is it likely that I will need to create application specific plugins for different browsers?  If so, please can somebody point me to the APIs for Google Chrome, Firefox, Edge, and IE.

_._,_._,_


NVDA on groups.io

NVDA is developed by NV Access in collaboration with the community.
Get NVDA from: http://www.nvaccess.org/
Your continued donations help keep NVDA development going strong. Donate at:
http://www.nvaccess.org/donate
Other links:
Come talk with other NVDA users on irc.blufudge.net #NVDA
Get NVDA add-ons at:
http://addons.nvda-project.org/
NVDA on Facebook:
http://www.facebook.com/group.php?gid=8601265515
Get SkypeTalking for NVDA:
http://skypetalking.googlecode.com/

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#11061)
View All Messages In Topic (1)
[hidden email]
[hidden email]
Mute This Topic
New Topic
Change Your Subscription

Group Home
[hidden email]

Terms Of Service

Unsubscribe From This Group

_._,_._,_

------------------------------------------------------------------------------
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel

------------------------------------------------------------------------------

_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Loading...