commit/wintenApps: 8 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 15 Aug 2016 15:36:29 -0000

8 new commits in wintenApps:

https://bitbucket.org/nvdaaddonteam/wintenapps/commits/5b42ed6f8eff/
Changeset:   5b42ed6f8eff
Branch:      None
User:        josephsl
Date:        2016-08-03 04:14:54+00:00
Summary:     WinTenObjects: combo box items are read in Version 1607, so remove 
the workaround.

Affected #:  1 file

diff --git a/addon/globalPlugins/wintenObjs.py 
b/addon/globalPlugins/wintenObjs.py
index 340b6dd..a74b8eb 100755
--- a/addon/globalPlugins/wintenObjs.py
+++ b/addon/globalPlugins/wintenObjs.py
@@ -42,12 +42,6 @@ class LoopingSelectorItem(UIA):
                api.setNavigatorObject(self)
                self.reportFocus()
 
-# Certain UIA combo box items are no longer announced.
-class ComboBoxItem(UIA):
-
-       def event_UIA_elementSelected(self):
-               api.setNavigatorObject(self)
-
 # Tell Search UI app module to silence NVDA while the following is happenig.
 letCortanaListen = False
 
@@ -73,9 +67,6 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                        # Handle both Threshold and Redstone looping selector 
items.
                        if obj.role==controlTypes.ROLE_LISTITEM and 
"LoopingSelectorItem" in obj.UIAElement.cachedClassName:
                                clsList.append(LoopingSelectorItem)
-                       # Combo box items are not announced when using up or 
down arrows.
-                       elif obj.role==controlTypes.ROLE_LISTITEM and 
obj.UIAElement.cachedClassName == "ComboBoxItem":
-                               clsList.append(ComboBoxItem)
                        # Windows that are really dialogs.
                        if obj.UIAElement.cachedClassName in wintenDialogs:
                                clsList.insert(0, Dialog)


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/26f1f0ae5256/
Changeset:   26f1f0ae5256
Branch:      None
User:        josephsl
Date:        2016-08-03 04:23:33+00:00
Summary:     Bing Maps: Moved app module content around.

As maps.exe is here to stay, move maps_windows content to maps.py. The old 
maps.windows.exe support will be phased out by end of 2016.

Affected #:  2 files

diff --git a/addon/appModules/maps.py b/addon/appModules/maps.py
index 0e063a4..537f487 100755
--- a/addon/appModules/maps.py
+++ b/addon/appModules/maps.py
@@ -1,8 +1,40 @@
-# WinTenApps/maps_windows.py
+# WinTenApps/maps.py
 # Part of Windows 10 App Essentials collection
 # Copyright 2016 Joseph Lee, released under GPL.
 
 # Numerous enhancements for Bing Maps app.
-# This is the Redstone version of the app (different executable name).
 
-from maps_windows import *
+import appModuleHandler
+import api
+import controlTypes
+import config
+from NVDAObjects.UIA import UIA
+import tones
+
+# Map locations
+# A static text denoting where one is located on the map.
+class MapLocation(UIA):
+       """Plays a tone indicating the current map position."""
+
+       def event_becomeNavigatorObject(self):
+               l,t,w,h=self.location
+               x = l+(w/2)
+               y = t+(h/2)
+               screenWidth, screenHeight = api.getDesktopObject().location[2], 
api.getDesktopObject().location[3]
+               if x <= screenWidth or y <= screenHeight:
+                       
minPitch=config.conf['mouse']['audioCoordinates_minPitch']
+                       
maxPitch=config.conf['mouse']['audioCoordinates_maxPitch']
+                       
curPitch=minPitch+((maxPitch-minPitch)*((screenHeight-y)/float(screenHeight)))
+                       
brightness=config.conf['mouse']['audioCoordinates_maxVolume']
+                       
leftVolume=int((85*((screenWidth-float(x))/screenWidth))*brightness)
+                       rightVolume=int((85*(float(x)/screenWidth))*brightness)
+                       
tones.beep(curPitch,40,left=leftVolume,right=rightVolume)
+               super(MapLocation,self).event_becomeNavigatorObject()
+
+
+class AppModule(appModuleHandler.AppModule):
+
+       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
+               if isinstance(obj, UIA):
+                       if obj.role in (controlTypes.ROLE_STATICTEXT, 
controlTypes.ROLE_BUTTON) and obj.parent.parent.UIAElement.cachedClassName == 
"Map":
+                               clsList.insert(0, MapLocation)

diff --git a/addon/appModules/maps_windows.py b/addon/appModules/maps_windows.py
index c6bbe56..701c01b 100755
--- a/addon/appModules/maps_windows.py
+++ b/addon/appModules/maps_windows.py
@@ -3,38 +3,6 @@
 # Copyright 2016 Joseph Lee, released under GPL.
 
 # Numerous enhancements for Bing Maps app.
+# This is the Threshold version of the app (different executable name).
 
-import appModuleHandler
-import api
-import controlTypes
-import config
-from NVDAObjects.UIA import UIA
-import tones
-
-# Map locations
-# A static text denoting where one is located on the map.
-class MapLocation(UIA):
-       """Plays a tone indicating the current map position."""
-
-       def event_becomeNavigatorObject(self):
-               l,t,w,h=self.location
-               x = l+(w/2)
-               y = t+(h/2)
-               screenWidth, screenHeight = api.getDesktopObject().location[2], 
api.getDesktopObject().location[3]
-               if x <= screenWidth or y <= screenHeight:
-                       
minPitch=config.conf['mouse']['audioCoordinates_minPitch']
-                       
maxPitch=config.conf['mouse']['audioCoordinates_maxPitch']
-                       
curPitch=minPitch+((maxPitch-minPitch)*((screenHeight-y)/float(screenHeight)))
-                       
brightness=config.conf['mouse']['audioCoordinates_maxVolume']
-                       
leftVolume=int((85*((screenWidth-float(x))/screenWidth))*brightness)
-                       rightVolume=int((85*(float(x)/screenWidth))*brightness)
-                       
tones.beep(curPitch,40,left=leftVolume,right=rightVolume)
-               super(MapLocation,self).event_becomeNavigatorObject()
-
-
-class AppModule(appModuleHandler.AppModule):
-
-       def chooseNVDAObjectOverlayClasses(self, obj, clsList):
-               if isinstance(obj, UIA):
-                       if obj.role in (controlTypes.ROLE_STATICTEXT, 
controlTypes.ROLE_BUTTON) and obj.parent.parent.UIAElement.cachedClassName == 
"Map":
-                               clsList.insert(0, MapLocation)
+from maps import *


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/8e2d9b81ae96/
Changeset:   8e2d9b81ae96
Branch:      None
User:        josephsl
Date:        2016-08-03 07:23:09+00:00
Summary:     Twitter app: Catch attribute erro when moving through objects in 
timeline.

Oops, should have checked if the object name is even defined. For now, it'll be 
handled via a try statement.

Affected #:  1 file

diff --git a/addon/appModules/twitter_windows.py 
b/addon/appModules/twitter_windows.py
index c87b80e..69e76e2 100755
--- a/addon/appModules/twitter_windows.py
+++ b/addon/appModules/twitter_windows.py
@@ -12,5 +12,8 @@ class AppModule(appModuleHandler.AppModule):
 
        def event_NVDAObject_init(self, obj):
                # Somehow, UIA places various Twitter buttons as child of the 
button itself (quite odd).
-               if isinstance(obj, UIA) and obj.role == 
controlTypes.ROLE_BUTTON and obj.name == "":
-                       obj.name = obj.firstChild.name
+               try:
+                       if isinstance(obj, UIA) and obj.role == 
controlTypes.ROLE_BUTTON and obj.name == "":
+                               obj.name = obj.firstChild.name
+               except AttributeError:
+                       pass


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/5039a450f7de/
Changeset:   5039a450f7de
Branch:      None
User:        josephsl
Date:        2016-08-04 00:58:38+00:00
Summary:     Skype Preview: announce text chat when focused in the app.

Thankfully, no display model to fiddle around... Also, text chats fire name 
change event, so it's the matter of locating the correct item and announcing 
it. Once it is working, the next step is to apply the same regexp as Desktop 
client, as chat info is quite verbose.

Affected #:  1 file

diff --git a/addon/appModules/skypeapp.py b/addon/appModules/skypeapp.py
index bf34eb4..264457e 100755
--- a/addon/appModules/skypeapp.py
+++ b/addon/appModules/skypeapp.py
@@ -11,9 +11,13 @@ from NVDAObjects.UIA import UIA
 class AppModule(appModuleHandler.AppModule):
 
        def event_nameChange(self, obj, nextHandler):
-               if isinstance(obj, UIA) and obj.UIAElement.cachedClassName == 
"TextBlock" and obj.next is not None:
-                       # Announce typing indicator (same as Skype for Desktop).
-                       nextElement = obj.next.UIAElement
-                       if nextElement.cachedClassName == "RichEditBox" and 
nextElement.cachedAutomationID == "ChatEditBox":
-                               ui.message(obj.name if obj.name != "" else 
"Typing stopped")
+               if isinstance(obj, UIA):
+                       uiElement = obj.UIAElement
+                       if uiElement.cachedClassName == "TextBlock" and 
obj.next is not None:
+                               # Announce typing indicator (same as Skype for 
Desktop).
+                               nextElement = obj.next.UIAElement
+                               if nextElement.cachedClassName == "RichEditBox" 
and nextElement.cachedAutomationID == "ChatEditBox":
+                                       ui.message(obj.name if obj.name != "" 
else "Typing stopped")
+                       elif uiElement.cachedAutomationID == "Message" and 
uiElement.cachedClassName == "ListViewItem" and obj == obj.parent.lastChild:
+                               ui.message(obj.name)
                nextHandler()


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/d6bbf6e1f533/
Changeset:   d6bbf6e1f533
Branch:      None
User:        josephsl
Date:        2016-08-05 17:58:35+00:00
Summary:     Merge branch 'stable'

Affected #:  9 files

diff --git a/addon/doc/bg/readme.md b/addon/doc/bg/readme.md
index c637301..f1f45ee 100644
--- a/addon/doc/bg/readme.md
+++ b/addon/doc/bg/readme.md
@@ -20,6 +20,7 @@
   Windows Insider).
 * Microsoft Edge
 * Настройки (настройки на системата, Windows+I).
+* Предварителна версия на Skype (Skype Preview)
 * Twitter.
 * TeamViewer Touch.
 * Разни модули за контроли, като например плочките в менюто „Старт“.
@@ -72,7 +73,12 @@
 
 * Определена информация, като например напредъка на Windows Update, сега
   бива докладвана автоматично.
-* Стойностите на лентите за напредъка вече не се съобщават двукратно.
+* Стойностите на лентите за напредъка и друга информация вече не се
+  съобщават двукратно.
+
+## Предварителна версия на Skype (Skype Preview)
+* Текстът на индикатора за писане бива съобщаван, както това става в Skype
+  за работен плот.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/de/readme.md b/addon/doc/de/readme.md
index da43786..a99e9a9 100644
--- a/addon/doc/de/readme.md
+++ b/addon/doc/de/readme.md
@@ -18,6 +18,7 @@ welche inbegriffen sind):
 * Insider Hub/Feedback-Hub (Nur für Windows Insider).
 * Microsoft Edge
 * Einstellungen (System-Einstellungen mit Win+I).
+* Skype Preview
 * Twitter.
 * TeamViewer Touch.
 * Diverse Steuermodule wie beispielsweise die Startmenübereiche
@@ -66,7 +67,10 @@ welche inbegriffen sind):
 
 * Bestimmte Informationen wie der Fortschritt bei Windows Updates werden nun
   automatisch angesagt.
-* Progress bar values are no longer announced twice.
+* Progress bar values and other information are no longer announced twice.
+
+## Skype Preview
+* Typing indicator text is announced just like Skype for Desktop client.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md
index bebec39..454632f 100644
--- a/addon/doc/es/readme.md
+++ b/addon/doc/es/readme.md
@@ -18,6 +18,7 @@ qué se incluye):
 * Insider Hub/Feedback Hub (sólo Windows Insiders).
 * Microsoft Edge
 * Opciones (opciones de sistema, Windows+I).
+* Previsualización de Skype
 * Twitter.
 * TeamViewer Touch.
 * Módulos misceláneos para controles tales como los mosaicos del Menú
@@ -69,7 +70,12 @@ qué se incluye):
 
 * Cierta información tal como el progreso de la Actualización de Windows
   ahora se anuncia automáticamente.
-* Los valores de la barra de progreso ya no se anuncian dos veces.
+* Los valores de la barra de progreso y otra información ya no se anuncian
+  dos veces.
+
+## Previsualización de Skype
+* Al teclear el indicador de texto se anuncia sólo como cliente Skype para
+  Escritorio.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/fi/readme.md b/addon/doc/fi/readme.md
index 85468a9..6922ccc 100644
--- a/addon/doc/fi/readme.md
+++ b/addon/doc/fi/readme.md
@@ -17,6 +17,7 @@ käytettävissä olevista ominaisuuksista kunkin sovelluksen 
kappaleesta):
 * Insider-/Palautekeskus (vain Windows Insider -ohjelmaan liittyneillä).
 * Microsoft Edge
 * Asetukset (järjestelmän asetukset, Windows+I).
+* Skypen esiversio
 * Twitter
 * TeamViewer Touch
 * Sekalaisia moduuleita sellaisille säätimille kuin Käynnistä-valikon
@@ -67,7 +68,10 @@ käytettävissä olevista ominaisuuksista kunkin sovelluksen 
kappaleesta):
 
 * Määrätyt tiedot, kuten Windows Updaten päivitysten asennuksen edistyminen,
   puhutaan nyt automaattisesti.
-* Edistymispalkkien arvoja ei lueta enää kahdesti.
+* Edistymispalkkien arvoja tai muita tietoja ei lueta enää kahdesti.
+
+## Skypen esiversio
+* Kirjoitusilmaisimen teksti puhutaan kuten Skypen työpöytäversiossa.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/fr/readme.md b/addon/doc/fr/readme.md
index 4cee4dc..e5040c2 100644
--- a/addon/doc/fr/readme.md
+++ b/addon/doc/fr/readme.md
@@ -19,6 +19,7 @@ est inclus) :
 * Insider Hub/Feedback Hub  (Windows Insiders seulement).
 * Microsoft Edge
 * Paramètres (paramètres système, Windows+I).
+* Skype Preview
 * Twitter.
 * TeamViewer Touch.
 * Divers modules pour des contrôles tels que les tuiles du Menu Démarrer.
@@ -70,7 +71,12 @@ est inclus) :
 
 * Certaines informations telles que l'avancement de la Mise à jour de
   Windows est maintenant signalé automatiquement.
-* Les valeurs de la barre de progression ne sont plus annoncés deux fois.
+* Les valeurs de la barre de progression et d'autres informations ne sont
+  plus annoncés deux fois.
+
+## Skype Preview
+* L'indicateur de frappe de texte est annoncé exactement comme pour le Skype
+  for Desktop client.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/gl/readme.md b/addon/doc/gl/readme.md
index 7eae901..7ab0be6 100644
--- a/addon/doc/gl/readme.md
+++ b/addon/doc/gl/readme.md
@@ -18,6 +18,7 @@ se inclúe):
 * Insider Hub/Feedback Hub (Só Windows Insiders).
 * Microsoft Edge
 * Opcións (opcións do sistema, Windows+I).
+* Previsualización de Skype
 * Twitter.
 * TeamViewer Touch.
 * Módulos misceláneos para controis como mosaicos do Menú Inicio.
@@ -66,7 +67,12 @@ se inclúe):
 
 * Certa información como o progreso da Actualización de Windows agora é
   anunciada automáticamente.
-* Os valores da barra de progreso xa non se anuncian dúas veces.
+* Os valores da barra de progreso e outra información xa non se anuncian
+  dúas veces.
+
+## Previsualización de Skype
+* Ao teclear o indicador de texto anúnciase só coma cliente Skype para
+  Escritorio.
 
 ## Bank of America/Twitter
 

diff --git a/addon/doc/it/readme.md b/addon/doc/it/readme.md
new file mode 100644
index 0000000..6ca2303
--- /dev/null
+++ b/addon/doc/it/readme.md
@@ -0,0 +1,85 @@
+# Windows 10 App Essentials #
+
+* Autore: Joseph Lee
+* Download [versione stabile][1]
+* Download [versione in sviluppo][2]
+
+Questo componente aggiuntivo è un insieme di app module per numerose app
+Windows10, e consente anche di risolvere anomalie con alcuni controlli.
+
+Segue l'elenco di tutti gli appmodule contenuti nel componente aggiuntivo,
+si veda la relativa sezione per ulteriori informazioni:
+
+* Allarmi e sveglia.
+* Bank of America
+* Calcolatrice (moderna).
+* Cortana
+* Insider Hub/Feedback Hub (solo per utenti Windows Insiders).
+* Microsoft Edge
+* Impostazioni (Impostazioni Windows, Windows+i)
+* Anteprima Skype
+* Twitter.
+* TeamViewer Touch.
+* Vari moduli per controlli come le mattonelle del menu avvio.
+
+## Generale
+
+* Nei menu di contesto per le mattonelle del menu avvio, vengono
+  riconosciuti in maniera corretta i sottomenu.
+* Quando vengono ridotte a icona tutte le finestre (Windows+M), non verrà
+  più annunciata la parola "riquadro".
+* Molte finestre di dialogo vengono gestite correttamente, soprattutto
+  quelle inerenti il feedback su Windows Insider e le impostazioni, nonché i
+  nuovi controlli UAC presenti dalla build 14328 e successive.
+* La selezione dei valori dell'orario funziona anche nei sistemi con lingua
+  diversa dall'inglese.
+
+## Allarmi e sveglia
+
+* I valori per selezionare l'ora adesso vengono annunciati. Questo comprende
+  anche la sezione inerente la scelta dell'orario sul quando eseguire
+  Windows Update e quando debbano essere installati gli aggiornamenti.
+
+## Calcolatrice
+
+* Quando viene premuto invio, NVDA annuncia il risultato del calcolo.
+
+## Cortana
+
+* Le risposte di tipo testuale di Cortana vengono lette nella maggior parte
+  dei casi, se non dovesse funzionare riaprire il menu avvio e ripetere la
+  ricerca.
+
+## Insider/Feedback Hub e TeamViewer Touch
+
+* Insider Hub (Feedback Hub in Anniversary Update) only: Meant to be used by
+  Windows Insiders running an Insider build.
+* Vengono lette le etichette dei pulsanti radio.
+* TeamViewer Touch: vengono riconosciute le etichette dei pulsanti.
+
+## Microsoft Edge
+
+* Vengono annunciate correttamente le notifiche dei download dei file.
+* Si noti che il supporto per il momento è sperimentale, non usare Edge come
+  browser predefinito.
+
+## Impostazioni
+
+* Vengono annunciate automaticamente le informazioni di avanzamento delle
+  operazioni di Windows Update.
+* Le informazioni delle barre di avanzamento non vengono più lette due
+  volte.
+
+## Anteprima Skype
+* Viene annunciato quando un utente sta scrivendo, così come accade in Skype
+  per desktop.
+
+## Bank of America/Twitter
+
+* Vengono annunciate correttamente le etichette dei pulsanti.
+
+[[!tag dev stable]]
+
+[1]: http://addons.nvda-project.org/files/get.php?file=w10
+
+[2]: http://addons.nvda-project.org/files/get.php?file=w10-dev

diff --git a/addon/doc/ru/readme.md b/addon/doc/ru/readme.md
index 4a75893..eaac9c0 100644
--- a/addon/doc/ru/readme.md
+++ b/addon/doc/ru/readme.md
@@ -17,6 +17,7 @@ Windows 10, а также исправлений для некоторых ти
 * Insider Hub/Feedback Hub (Windows Insiders only).
 * Microsoft Edge
 * Настройки (настройки системы, Windows+I).
+* Skype Preview
 * Twitter.
 * Сенсорный экран TeamViewer.
 * Разные модули для типов управления, таких, как плитки главного меню.
@@ -63,7 +64,10 @@ Windows 10, а также исправлений для некоторых ти
 
 * Теперь автоматически сообщается определённая информация, такая, как
   индикатор обновления Windows.
-* Значения индикатора выполнения не объявляются дважды.
+* Progress bar values and other information are no longer announced twice.
+
+## Skype Preview
+* Typing indicator text is announced just like Skype for Desktop client.
 
 ## Bank of America/Twitter
 

diff --git a/addon/locale/ro/LC_MESSAGES/nvda.po 
b/addon/locale/ro/LC_MESSAGES/nvda.po
new file mode 100644
index 0000000..3859f0a
--- /dev/null
+++ b/addon/locale/ro/LC_MESSAGES/nvda.po
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: wintenApps 16.07\n"
+"Report-Msgid-Bugs-To: nvda-translations@xxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2016-07-09 05:48+1000\n"
+"PO-Revision-Date: 2016-07-29 16:56+0300\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Florian Ionașcu <florianionascu@xxxxxxxxxxx>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.8\n"
+
+#. Add-on summary, usually the user visible name of the addon.
+#. Translators: Summary for this add-on to be shown on installation and add-on 
information.
+#: buildVars.py:17
+msgid "Windows 10 App Essentials"
+msgstr "Windows 10 App Essentials"
+
+#. Add-on description
+#. Translators: Long description to be shown for this add-on on add-on 
information from add-ons manager
+#: buildVars.py:20
+msgid "A collection of app modules for various Windows 10 apps"
+msgstr "O colecție a modulelor de aplicații pentru diferite aplicații din 
Windows 10"


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/0cf83205d574/
Changeset:   0cf83205d574
Branch:      None
User:        josephsl
Date:        2016-08-05 20:25:08+00:00
Summary:     Suggestions list: announce number of suggestions and the topmost 
item.

UIAControllerForPropertyID is used to tell clients that a UI element depends on 
another, needed in suggestions list. Thus use this property to detect if 
suggestions appear. The caveat is that this does not work when the first char 
is entered on an empty search box.

Affected #:  1 file

diff --git a/addon/globalPlugins/wintenObjs.py 
b/addon/globalPlugins/wintenObjs.py
index a74b8eb..d1b80c5 100755
--- a/addon/globalPlugins/wintenObjs.py
+++ b/addon/globalPlugins/wintenObjs.py
@@ -8,6 +8,7 @@ import sys
 import globalPluginHandler
 import appModuleHandler # Huge workaround.
 import controlTypes
+import ui
 from NVDAObjects.UIA import UIA
 from NVDAObjects.behaviors import Dialog
 import api
@@ -81,6 +82,24 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                        api.setNavigatorObject(obj.simpleFirstChild)
                nextHandler()
 
+       # Needed to prevent double announcement...
+       valueCharCount = -1
+
+       def event_valueChange(self, obj, nextHandler):
+               # Announce at least suggestions count and the topmost one.
+               if isinstance(obj, UIA) and obj.UIAElement.cachedAutomationID 
== "TextBox" and obj.UIAElement.cachedClassName == "TextBox":
+                       if self.valueCharCount != len(obj.value):
+                               self.valueCharCount = len(obj.value)
+                               if len(obj.value) > 0:
+                                       try:
+                                               suggestions = 
api.getFocusObject().controllerFor
+                                               if len(suggestions) > 0:
+                                                       
ui.message("Suggestions: {count}".format(count = suggestions[0].childCount))
+                                                       
ui.message(suggestions[0].firstChild.name)
+                                       except AttributeError:
+                                               pass
+               nextHandler()
+
        def script_voiceActivation(self, gesture):
                gesture.send()
                if sys.getwindowsversion().major == 10:


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/3fd092089206/
Changeset:   3fd092089206
Branch:      None
User:        josephsl
Date:        2016-08-05 20:30:28+00:00
Summary:     Skype Preview: partial return of Control+NVDA+number row to read 
chat history.

Sometimes, we don't know where chat history can be found in object hierarchy, 
so use scanning technique to locate it. Also, chat history command will say 
'history not found' if one opens other panels such as Settings.

Affected #:  1 file

diff --git a/addon/appModules/skypeapp.py b/addon/appModules/skypeapp.py
index 264457e..3dd6bca 100755
--- a/addon/appModules/skypeapp.py
+++ b/addon/appModules/skypeapp.py
@@ -7,9 +7,15 @@
 import appModuleHandler
 import ui
 from NVDAObjects.UIA import UIA
+import api
 
 class AppModule(appModuleHandler.AppModule):
 
+       def __init__(self, *args, **kwargs):
+               super(AppModule, self).__init__(*args, **kwargs)
+               for pos in xrange(10):
+                       self.bindGesture("kb:control+nvda+%s"%pos, 
"readMessage")
+
        def event_nameChange(self, obj, nextHandler):
                if isinstance(obj, UIA):
                        uiElement = obj.UIAElement
@@ -18,6 +24,23 @@ class AppModule(appModuleHandler.AppModule):
                                nextElement = obj.next.UIAElement
                                if nextElement.cachedClassName == "RichEditBox" 
and nextElement.cachedAutomationID == "ChatEditBox":
                                        ui.message(obj.name if obj.name != "" 
else "Typing stopped")
-                       elif uiElement.cachedAutomationID == "Message" and 
uiElement.cachedClassName == "ListViewItem" and obj == obj.parent.lastChild:
+                       elif uiElement.cachedAutomationID == "Message" and 
uiElement.cachedClassName == "ListViewItem":
                                ui.message(obj.name)
                nextHandler()
+
+       def script_readMessage(self, gesture):
+               # Foreground isn't reliable, so need to locate the actual chat 
contents list.
+               fg = api.getForegroundObject()
+               if fg.getChild(1).childCount > 0:
+                       screenContent = fg.getChild(1)
+               else:
+                       screenContent = fg.getChild(2)
+               # Position of chat history in object hierarchy changes based on 
which tabv is active.
+               # Wish there is a more elegant way to do this...
+               for element in screenContent.children:
+                       if isinstance(element, UIA) and 
element.UIAElement.cachedAutomationID == "chatMessagesListView":
+                               pos = int(gesture.displayName[-1])
+                               if pos == 0: pos += 10
+                               ui.message(element.getChild(0-pos).name)
+                               return
+               ui.message("Chat history not found")


https://bitbucket.org/nvdaaddonteam/wintenapps/commits/ead39730b47e/
Changeset:   ead39730b47e
Branch:      master
User:        josephsl
Date:        2016-08-15 15:35:54+00:00
Summary:     Merge branch 'stable'

Affected #:  1 file

diff --git a/addon/locale/it/LC_MESSAGES/nvda.po 
b/addon/locale/it/LC_MESSAGES/nvda.po
new file mode 100644
index 0000000..646c16f
--- /dev/null
+++ b/addon/locale/it/LC_MESSAGES/nvda.po
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: wintenApps 16.08\n"
+"Report-Msgid-Bugs-To: nvda-translations@xxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2016-08-05 22:05+1000\n"
+"PO-Revision-Date: 2016-08-09 12:29+0200\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Last-Translator: Simone Dal Maso <simone.dalmaso@xxxxxxxxx>\n"
+"Language-Team: \n"
+"X-Generator: Poedit 1.8.7\n"
+
+#. Add-on summary, usually the user visible name of the addon.
+#. Translators: Summary for this add-on to be shown on installation and add-on 
information.
+#: buildVars.py:17
+msgid "Windows 10 App Essentials"
+msgstr "Windows 10 App Essentials"
+
+#. Add-on description
+#. Translators: Long description to be shown for this add-on on add-on 
information from add-ons manager
+#: buildVars.py:20
+msgid "A collection of app modules for various Windows 10 apps"
+msgstr "Una collezione di app module per numerose app presenti in Windows10"

Repository URL: https://bitbucket.org/nvdaaddonteam/wintenapps/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts: