| Trees | Indices | Help |
|---|
|
|
1 import sys 2 import comtypes 3 import config 4 from logHandler import log 5 6 handler=None 7 isUIAAvailable=False 8 9 if config.conf and config.conf["UIA"]["enabled"]: 10 winver=sys.getwindowsversion() 11 winver=winver.major+(winver.minor/10.0) 12 if winver>=config.conf["UIA"]["minWindowsVersion"]: 13 try: 14 from _UIAHandler import * 15 isUIAAvailable=True 16 except ImportError: 17 pass 1820 global handler 21 if not isUIAAvailable: 22 raise NotImplementedError 23 try: 24 handler=UIAHandler() 25 except COMError: 26 handler=None 27 raise RuntimeError("UIA not available")28 34
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 18 17:46:06 2011 | http://epydoc.sourceforge.net |