pywinauto

(c) Mark Mc Mahon

View the Project on GitHub pywinauto/pywinauto


pywinauto 0.5.4 released (October,30)

Fix bugs and inconsistencies
Partial MFC Menu Bar support
Python 3.5 is supported

Download pywinauto-0.5.4.zip


All downloads




SWAPY
(Object Inspector and Code Generator)


SWAPY 0.4.8 released (November,01)

New Code Generator
Saving code to a file

Windows GUI Automation with Python

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 also supports more complex actions.

[New team icon] Thanks, Anna, who painted the icon for the team, cat Walter.
Logo for the pywinauto library is still wanted.

Demo example

Notepad.exe automation example

It is simple and the resulting scripts are very readable. How simple?

app.UntitledNotepad.MenuSelect("Help->About Notepad")
app.AboutNotepad.OK.Click()
app.UntitledNotepad.Edit.TypeKeys ("pywinauto Works!", with_spaces = True)

Setup

or

Supported controls


SWAPY: Simple Windows Automation on Python

SWAPY is a pywinauto Inspector and Code generator

SWAPY steps example