Hi Noelia,
I think this addon will be interesting too.
I would suggest to add a toggle keystroke, maybe NVDA+CTRL+SHIFT+P, as P for
PASSWORD <smiles>.
--
Allan WKF
----- Original Message -----
From: "Noelia" <nrm1977@xxxxxxxxx>
To: <nvda-addons@xxxxxxxxxxxxx>
Sent: Saturday, April 16, 2016 20:14
Subject: [nvda-addons] Re: reportPasswords add-on
Many thanks.
I usually read your opinions and code for NVDA and find them very
interesting.
I have thought on the possibility of adding configuration options for
the add-on. So, I will keep the function for ease of mantainance in case
I need it.
Best for you.
El 16/04/2016 a las 12:04, Zahari Yurukov escribió:
Hi,
you can drop the unprotectPasswordControls() function and replace it
with lambda:
api.isTypingProtected = lambda:False
Though, if you want it to be configurable - you'll need it (which I
think will be best: with a keystroke to toggle, etc.).
Best wishes,
Zahari
На 16.04.2016 в 11:52, Noelia написа:
Hi:
On spanish mailing list has been discussed the difficulties of a pupil
typing his password for Gmail.
Some people would like to listeng the typed characters on protected
controls.
There is an issue for this at
https://github.com/nvaccess/nvda/issues/4624
I created a branch for this issue, though now I don't like my code,
since I modified speech instead of api.
The issue is opened, but there are people which requires this now.
I have created a very small add-on based on other one shared by James
Scholes, that report the spoken text, and indentones add-on, that is,
here I just act on api isTypingProtected function, intendent to
determine when keyboard echo needs to be suppressed.
I will be grateful if you can review this small piece of code, and let
me know if you want me to create the repo for the inclussion of the
add-on on the community website. Thanks:
^***
# reportPasswords: plugin to avoid keyboard echo suppressing on
protected controls
# Date: 16/04/2016
import globalPluginHandler
import api
def unprotectPasswordControls():
return False
class GlobalPlugin(globalPluginHandler.GlobalPlugin):
def __init__(self):
super(globalPluginHandler.GlobalPlugin, self).__init__()
api.isTypingProtected = unprotectPasswordControls
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for
reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe:
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx