| Trees | Indices | Help |
|---|
|
|
1 #appModules/openWith.py 2 #A part of NonVisual Desktop Access (NVDA) 3 #Copyright (C) 2006-2011 NVDA Contributors <http://www.nvda-project.org/> 4 #This file is covered by the GNU General Public License. 5 #See the file COPYING for more details. 6 7 from comtypes import COMError 8 import appModuleHandler 9 import controlTypes 10 from NVDAObjects.UIA import UIA 11 from NVDAObjects.behaviors import Dialog 12 13 #win8hack: the nondefault items in the list of applications are not labeled 2325 26 role=controlTypes.ROLE_DIALOG 27 28 #win8hack: This window never actually gets the physical focus thus tabbing etc goes to the original window 29 #So Force it to get focus33354637 if isinstance(obj,UIA): 38 try: 39 automationID=obj.UIAElement.currentAutomationID 40 except COMError: 41 automationID=None 42 if automationID=="NonDefaultAppTile": 43 clsList.insert(0,NonDefaultAppTile) 44 elif automationID=="ImmersiveOpenWithFlyout": 45 clsList.insert(0,ImmersiveOpenWithFlyout)
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 18 17:46:12 2011 | http://epydoc.sourceforge.net |