{"repo":"yinkaisheng/Python-UIAutomation-for-Windows","free":true,"listed":false,"github":"https://github.com/yinkaisheng/Python-UIAutomation-for-Windows","clone":"git clone https://github.com/yinkaisheng/Python-UIAutomation-for-Windows.git","description":"🐍Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...","language":"Python","stars":3551,"topics":["python","uiautomation","windows","gui","automation"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"The uiautomation module :cn:中文版介绍 Do not use 3.7.6 and 3.8.1; comtypes doesn't work in these two versions. Install an earlier or the latest version. https://github.com/enthought/comtypes/issues/202 This module is for UIAutomation on Windows (Windows XP with SP3, Windows Vista, Windows 7, and Windows 8/8.1/10/11). It supports UIAutomation for applications that implemented UIAutomation Provider, such as MFC, Windows Form, WPF, Modern UI (Metro UI), Qt (partly), Firefox ( version =60 ), Chrome, and Electron-based apps (require --force-renderer-accessibility command line parameter). I developed it in my spare time and for my personal use. uiautomation is shared under the Apache License 2.0. This means that the code can be freely copied and distributed, and costs nothing to use. uiautomation1.x supports py2, py3 and doesn't depend on any third-party packages. uiautomation2.0+ only supports py3 and depends on comtypes and typing (Python3.5+ built-in). uiautomation2.0+ is not backward compatible with earlier versions. See API changes. You can install uiautomation with pip install uiautomation . After installation, an automation.py script that calls uiautomation will be in 'C:\\PythonXX\\Scripts\\'. You can use this script to traverse UI controls. Run 'C:\\PythonXX\\Scripts\\automation.py -h' for help. Run demos\\automation calculator.py to see a simple demo. On Windows 8/8.1, to automate a Metro App, the app must be in the foreground. If a Metro App was switched to the background, uiautoma","default_branch":null,"files":null,"tree":[],"storefront":"/r/yinkaisheng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yinkaisheng/Python-UIAutomation-for-Windows/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}