Skip to content

claudioRcarvalho/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

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)

About

Windows GUI Automation with Python (64-bit Py3 compatible)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 90.5%
  • HTML 8.7%
  • Other 0.8%