Code Monkey home page Code Monkey logo

pywinauto's Introduction

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

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)

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)

pywinauto's People

Contributors

airelil avatar akarsakov avatar alexandermyasnikov avatar cetygamer avatar dmitry-abramov avatar funkyhat avatar gitter-badger avatar ivanmagazinnik avatar kselar avatar letsautom8 avatar moden-py avatar programmdesign avatar vasily-v-ryabov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.