diff --git a/contributors.txt b/contributors.txt index 0ea781a52f2..23e452f7a48 100644 --- a/contributors.txt +++ b/contributors.txt @@ -179,3 +179,4 @@ Florian Ionașcu Nicușor Untilă Julien Nabet Babbage B.V. +Ethan Holliger diff --git a/source/globalCommands.py b/source/globalCommands.py index d7610224eaa..2a05c0c4163 100755 --- a/source/globalCommands.py +++ b/source/globalCommands.py @@ -3,7 +3,7 @@ #A part of NonVisual Desktop Access (NVDA) #This file is covered by the GNU General Public License. #See the file COPYING for more details. -#Copyright (C) 2006-2016 NV Access Limited, Peter Vágner, Aleksey Sadovoy, Rui Batista, Joseph Lee, Leonard de Ruijter, Derek Riemer, Babbage B.V. +#Copyright (C) 2006-2016 NV Access Limited, Peter Vágner, Aleksey Sadovoy, Rui Batista, Joseph Lee, Leonard de Ruijter, Derek Riemer, Babbage B.V., Ethan Holliger import time import itertools @@ -1361,10 +1361,14 @@ def script_reportStatusLine(self,gesture): return if scriptHandler.getLastScriptRepeatCount()==0: ui.message(text) - else: + elif scriptHandler.getLastScriptRepeatCount()==1: speech.speakSpelling(text) + else: + if api.copyToClip(text): + # Translators: The message presented when the status bar is copied to the clipboard. + ui.message(_("%s copied to clipboard")%text) # Translators: Input help mode message for report status line text command. - script_reportStatusLine.__doc__ = _("Reads the current application status bar and moves the navigator to it. If pressed twice, spells the information") + script_reportStatusLine.__doc__ = _("Reads the current application status bar and moves the navigator to it. If pressed twice, spells the information. If pressed three times, copies the status bar to the clipboard") script_reportStatusLine.category=SCRCAT_FOCUS def script_toggleMouseTracking(self,gesture): diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index 5d26c8da197..2deded3afd2 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -1,4 +1,4 @@ -What's New in NVDA +What's New in NVDA %!includeconf: ../changes.t2tconf @@ -19,6 +19,8 @@ - In Browse mode for Firefox and Chrome, the name of form field groups are now announced when moving into them with quick navigation or when tabbing. (#3321) - In browse mode, the quick navigation command for embedded objects (o and shift+o) now includes audio and video elements as well as elements with the aria roles application and dialog. (#7239) - Espeak-ng has been updated (to commit 01919cd48a566cdf34347784b2e74554b376e900), this resolves some issues with producing release builds. (#7385) +- It is now possible to press the report status bar command three times to copy the status bar text to the clipboard. (#1785) + == Bug Fixes == diff --git a/user_docs/en/userGuide.t2t b/user_docs/en/userGuide.t2t index 45f06db4fd4..575dca742e0 100644 --- a/user_docs/en/userGuide.t2t +++ b/user_docs/en/userGuide.t2t @@ -278,7 +278,7 @@ There are some key commands that are useful when moving with the System focus: | Report current focus | NVDA+tab | NVDA+tab | announces the current object or control that has the System focus. Pressing twice will spell the information | | Report title | NVDA+t | NVDA+t | Reports the title of the currently active window. Pressing twice will spell the information. Pressing three times will copy it to the clipboard | | Read active window | NVDA+b | NVDA+b | reads all the controls in the currently active window (useful for dialogs) | -| Report Status Bar | NVDA+end | NVDA+shift+end | Reports the Status Bar if NVDA finds one. It also moves the navigator object to this location. Pressing twice will spell the information | +| Report Status Bar | NVDA+end | NVDA+shift+end | Reports the Status Bar if NVDA finds one. It also moves the navigator object to this location. Pressing twice will spell the information. Pressing three times will copy it to the clipboard | %kc:endInclude ++ Navigating with the System Caret ++[SystemCaret]