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.
- Install pyWin32 extensions (no need for Active Python)
- Download latest pywinauto release
- Just unpack and run
python setup.py install
- Introduction
- Table of contents
- Change Log / History
- HowTo's
- Code examples (gists) on gist.github.com
-
ListViewWrapper
interface is aligned withTreeViewWrapper
.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
andWaitCPUUsageLower
. - 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
andUnCheck
. - Fix toolbar button access by tooltip text.
- Native Windows controls (full support through Win32 API)
- .NET Windows Forms (partial support through Win32 API, some basic controls only)