src/p/y/pyaa-HEAD/Watcher.py pyaa(Download)
''' Classes that make watching for common window events easier. ''' import AA, Defer class Watcher(AA.AAbase): '''
src/p/y/pyaa-HEAD/treeExplorer.py pyaa(Download)
import wx, win32gui from pyHook.HookManager import HookManager import AA, Watcher ID_INFO_LIST = wx.NewId() ID_AA_TREE = wx.NewId() ID_FOCUS_BUTTON = wx.NewId()
src/p/y/pyaa-HEAD/Path.py pyaa(Download)
''' Functions for creating and parsing XPath like representations for objects in the MSAA DOM. ''' import AA def Join(p1, p2):
src/p/y/pyaa-HEAD/tests.py pyaa(Download)
'''Unit tests for pyAA.''' import unittest, os, time, pythoncom import AA, Watcher, Path # path to the list control in the explorer window list_path = '/client[3]/window[3]/client[3]/window[0]/list[3]' close_path = '/title bar[1]/push button[4]'