Skip to content

Commit

Permalink
Merge pull request #5 from nvdaes/speakOnDemand
Browse files Browse the repository at this point in the history
Add speakOnDemand to some scripts
  • Loading branch information
nvdaes committed Dec 6, 2023
2 parents 74bbf52 + 33d0991 commit 788b228
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions addon/appModules/emule.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def script_toolBar(self, gesture):
# Translators: Message presented in input help mode.
# For instance: reads the search window, Statistics, IRC, etc.
description=_("Reports the current window."),
gesture="kb:control+shift+t"
gesture="kb:control+shift+t",
speakOnDemand=True
)
def script_where(self, gesture):
name = self.getName()
Expand Down Expand Up @@ -266,7 +267,8 @@ def script_header(self, gesture):
@script(
# Translators: Message presented in input help mode.
description=_("Reports first object of the Status Bar."),
gesture="kb:control+shift+q"
gesture="kb:control+shift+q",
speakOnDemand=True
)
def script_statusBarFirstChild(self, gesture):
if self.statusBarObj(0) is not None:
Expand All @@ -275,7 +277,8 @@ def script_statusBarFirstChild(self, gesture):
@script(
# Translators: Message presented in input help mode.
description=_("Reports second object of the Status Bar."),
gesture="kb:control+shift+w"
gesture="kb:control+shift+w",
speakOnDemand=True
)
def script_statusBarSecondChild(self, gesture):
if self.statusBarObj(1) is not None:
Expand All @@ -284,7 +287,8 @@ def script_statusBarSecondChild(self, gesture):
@script(
# Translators: Message presented in input help mode.
description=_("Reports third object of the Status Bar."),
gesture="kb:control+shift+e"
gesture="kb:control+shift+e",
speakOnDemand=True
)
def script_statusBarThirdChild(self, gesture):
if self.statusBarObj(2) is not None:
Expand All @@ -293,7 +297,8 @@ def script_statusBarThirdChild(self, gesture):
@script(
# Translators: Message presented in input help mode.
description=_("Reports fourth object of the Status Bar."),
gesture="kb:control+shift+r"
gesture="kb:control+shift+r",
speakOnDemand=True
)
def script_statusBarForthChild(self, gesture):
if self.statusBarObj(3) is not None:
Expand Down
4 changes: 2 additions & 2 deletions buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
# Documentation file name
"addon_docFileName": "readme.html",
# Minimum NVDA version supported (e.g. "2018.3")
"addon_minimumNVDAVersion": "2022.1",
"addon_minimumNVDAVersion": "2024.1",
# Last NVDA version supported/tested (e.g. "2018.4", ideally more recent than minimum version)
"addon_lastTestedNVDAVersion": "2023.1",
"addon_lastTestedNVDAVersion": "2024.1",
# Add-on update channel (default is stable or None)
"addon_updateChannel": None,
}
Expand Down

0 comments on commit 788b228

Please sign in to comment.