Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 3.94 KB

README.md

File metadata and controls

64 lines (48 loc) · 3.94 KB

pywinauto

Join the chat at https://gitter.im/pywinauto/pywinauto

Current 0.5.x maintainance is lead by © Intel Corporation, 2015

pywinauto (c) Mark Mc Mahon and Contributors, 2006-2015

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

or

  • run pip install pywinauto (pypiwin32 will be installed automatically)

Optional packages

  • Install Pillow (PIL fork) to be able to call CaptureAsImage() method.

Documentation

pywinauto 0.5.3 release notes (2015 September, 25)

  • Better backward compatibility with pywinauto 0.4.2:
    • support Unicode symbols in the TypeKeys method again;
    • allow SetEditText/TypeKeys methods to take non-string arguments;
    • fix taking Unicode parameters in SetEditText/TypeKeys.
  • Fix bug in Wait("active"), raise a SyntaxError when waiting for an incorrect state.
  • Re-consider some timings, update docs for the default values etc.
  • Fix several issues with an owner-drawn menu.
  • MenuItem method Click is renamed to ClickInput while Click = Select now.
  • New SetTransparency method can make a window transparent in a specified degree.

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
  • Code Health

Downloads statistics

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

Packages required for running unit tests

(Python 3.5 may require VC++ 2015 re-distributable package)