# yinkaisheng/Python-UIAutomation-for-Windows

🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...

Repository: https://github.com/yinkaisheng/Python-UIAutomation-for-Windows
Canonical: https://ross.abutalabs.com/products/python-uiautomation-for-windows
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, uiautomation, windows, gui, automation
Last push: 2026-06-02T03:43:03+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 85, release rhythm 35, longevity 100
- inputs: {"age_days": 4089, "days_push": 92, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3557, forks 583 (observed 2026-08-28T04:08:09.705686+00:00)

## What it is
A Python 3 wrapper around Microsoft's UIAutomation API for automating and inspecting Windows desktop application GUIs. It supports controls in MFC, WinForms, WPF, Metro, Qt, and browser apps, and ships an automation.py script for traversing UI control trees.

## Use cases
- automate windows desktop app guis from python
- inspect ui controls of a wpf or winforms application
- write gui automation scripts for chrome or electron apps
- click buttons and read text in a windows program programmatically
- traverse the control tree of the active window
- build rpa scripts for legacy windows software

## When to avoid
- you need cross-platform GUI automation (macOS/Linux)
- you target Metro apps that run in the background on Windows 8/8.1
- you need to automate apps without UIAutomation provider support

## Facets
- artifact type: library
- maturity: active
- function: gui, workflow-automation, developer-tools, testing
- domain: windows, developer-tools, testing
- platform: windows, python, cli
- tags: uiautomation, gui-automation, comtypes, desktop-automation, rpa, automation

## Member repositories
- yinkaisheng/Python-UIAutomation-for-Windows (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.705686+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:34:15.978765+00:00, confidence not recorded.
  - readme: https://github.com/yinkaisheng/Python-UIAutomation-for-Windows (fetched 2026-08-28T04:08:09.705686+00:00, sha 732e21a5c582)
- Data as of 2026-08-30T08:39:29.467469+00:00.
