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.
- Install pyWin32 extensions (no need for Active Python)
- Download latest pywinauto release
- Just unpack and run
python setup.py install
or
- run
pip install pywinauto
(pypiwin32 will be installed automatically)
- Install Pillow (PIL fork) to be able to call
CaptureAsImage()
method.
- Introduction
- Table of contents
- Change Log / History
- HowTo's
- Code examples (gists) on gist.github.com
- 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
.
- support Unicode symbols in the
- 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
methodClick
is renamed toClickInput
whileClick = Select
now.- New
SetTransparency
method can make a window transparent in a specified degree.
- Native Windows controls (full support through Win32 API)
- .NET Windows Forms (partial support through Win32 API, some basic controls only)
(Python 3.5 may require VC++ 2015 re-distributable package)