Skip to content

zhaozz-lab/pywinauto

Repository files navigation

pywinauto

pywinauto (c) Mark Mc Mahon

pywinauto is a set of python modules to automate the Microsoft Windows GUI. At it’s simplest it allows you to send mouse and keyboard actions to windows dialogs and controls, but It has support for more complex controls also.

Recommended usage: 64-bit Python is for 64-bit applications; 32-bit Python is for 32-bit ones.

Setup

Documentation

pywinauto 0.5.2 release notes (2015 September, 8)

  • ListViewWrapper interface is aligned with TreeViewWrapper. GetItem() returns a _listview_item object that looks like _treeview_element now.
  • Add DPI awareness API support (Win8+). It allows correct work when all fonts (globally or per monitor) are scaled at 125%, 150% etc.
  • Add new Application methods: CPUUsage and WaitCPUUsageLower.
  • Fix TreeViewWrapper.Select method when tree view is not in focus.
  • Fix TabControlWrapper.Select method in case of TCS_BUTTONS style set.
  • Fix ListViewWrapper methods: Check and UnCheck.
  • Fix toolbar button access by tooltip text.

Supported controls

  • Native Windows controls (full support through Win32 API)
  • .NET Windows Forms (partial support through Win32 API, some basic controls only)

Continuous Integration / Coverage / Code Issues

  • Build status
  • codecov.io
  • Code Issues

Downloads statistics

  • PyPI: Daily downloads Weekly downloads Monthly downloads
  • GitHub: GitHub downloads

Packages required for running unit tests

About

Windows GUI Automation with Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%