pywinauto

Python package for automating GUI manipulation on Windows

class pywinauto.Desktop(backend=None, allow_magic_lookup=True)

Bases: object

Simple class to call something like Desktop().WindowName.ControlName.method()

from_point(x, y)

Get wrapper object for element at specified screen coordinates (x, y)

get_active()

Get wrapper object for active element

top_from_point(x, y)

Get wrapper object for top level element at specified screen coordinates (x, y)

window(**kwargs)

Create WindowSpecification object for top-level window

windows(**kwargs)

Return a list of wrapped top level windows

exception pywinauto.WindowNotFoundError

Bases: Exception

No window could be found

pywinauto.deprecated(method, deprecated_name=None)

Decorator for deprecated methods