Package pyAA :: Module Path
[show private | hide private]
[frames | no frames]

Module pyAA.Path

Functions for creating and parsing XPath like representations for objects in the MSAA DOM.
Function Summary
string Build(ao)
Build a path to the given AccessibleObject from the root object, the object just below the Desktop object in the DOM.
string Join(p1, p2)
Join two paths together.
  Parse(path, ao)
Retrieve a child object using its path rooted at the given ancestor.

Function Details

Build(ao)

Build a path to the given AccessibleObject from the root object, the object just below the Desktop object in the DOM.
Parameters:
ao - Object whose path we wish to build
           (type=AA.AccessibleObject)
Returns:
Path to the object
           (type=string)

Join(p1, p2)

Join two paths together.
Parameters:
p1 - Left side of path
           (type=string)
p2 - Right side of path
           (type=string)
Returns:
Joined path
           (type=string)

Parse(path, ao)

Retrieve a child object using its path rooted at the given ancestor.
Parameters:
path - Path to the target object
           (type=string)
ao - Object at the root of the path
           (type=AccessibleObject)

Generated by Epydoc 2.1 on Thu Mar 10 23:08:34 2005 http://epydoc.sf.net