Skip to content

softandbyte/pywinauto

 
 

Repository files navigation

pywinauto

pywinauto (c) Mark Mc Mahon, 2006 - 2015

pywinauto is coming back! Newer version adds 64-bit support and works on Python 3.x.

This set of python modules to automate the Microsoft Windows GUI allows you to send mouse and keyboard actions to windows dialogs and controls, but it also supports more complex actions.

Setup

Release notes (pywinauto 0.5.0)

  • 64-bit Python and 64-bit apps support (but 32-bit Python is recommended for 32-bit apps)
  • Python 2.x/3.x compatibility
  • [!] Added pyWin32 dependency (silent install by pip for 2.7 and 3.1+)
  • Improvements for Toolbar, TreeView, UpDown and DateTimePicker wrappers
  • Improved best_match algorithm allows names like ToolbarFile
  • Clicks can be performed with pressed Ctrl or Shift
  • Drag-n-drop and scrolling methods (DragMouse, DragMouseInput, MouseWheelInput)
  • Improved menu support: handling OWNERDRAW menu items; access by command_id (like $23453)
  • Resolved issues with py2exe and cx_freeze
  • RemoteMemoryBlock can now detect memory corruption by checking guard signature
  • Upgraded taskbar module for Win7 and Win 8.1; added hidden icons support
  • sysinfo module for checking 32-bit or 64-bit OS and Python
  • set_foreground flag in TypeKeys method for typing into in-place controls
  • flags create_new_console and wait_for_idle in Application.start method

Supported controls

  • Native Windows controls (full support through Win32 API)
  • .NET Windows Forms (partial support through Win32 API, some basic controls only)

Dependencies

  • pyWin32 package (build 219 is recommended). This is NOT required for ActivePython (except 3.4 64-bit).

Testing status

AppVeyor testing status

  • Build status
  • codecov.io

Packages required for running unit tests

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 56.4%
  • HTML 43.2%
  • Other 0.4%