# The automation module
This module is for automation on Windows(Windows XP with SP3, Windows Vista, Windows 7 and Windows 8/8.1/10).
It supports automation for the applications which implmented IUIAutomation, such as MFC, Windows Form, WPF, Modern UI(Metro UI), Qt and Firefox.
automation is shared under the GNU Public Licence (GPLv2, v3, and the AGPLv3).
This means that the code can be freely copied and distributed, and costs nothing to use in other GPL applications.
Run 'automation.py -h' for help.
Run automate_notepad_py3.py to see a simple demo.
Use inspectX86.exe or inspectX64.exe to see the UI elements.
[Inspect (Inspect.exe)](https://msdn.microsoft.com/en-us/library/windows/desktop/dd318521%28v=vs.85%29.aspx) is a Windows-based tool that enables you select any UI element and view the element's accessibility data. You can view Microsoft UI Automation properties and control patterns, as well as Microsoft Active Accessibility properties. Inspect also enables you to test the navigational structure of the automation elements in the UI Automation tree, and the accessible objects in the Microsoft Active Accessibility hierarchy.
Inspect is installed with the Windows Software Development Kit (SDK) for Windows 8. (It is also available in previous versions of Windows SDK.) It is located in the \bin\<platform> folder of the SDK installation path (Inspect.exe).
--------------------------------------------------------------------------------
Author mail: yinkaisheng@foxmail.com
[具体用法参考](http://www.cnblogs.com/Yinkaisheng/p/3444132.html)
[例子:使用python UIAutomation从QQ2016(8.0)群界面获取所有群成员详细资料](http://www.cnblogs.com/Yinkaisheng/p/5114932.html)
Inspect
![Inspect](https://i-msdn.sec.s-msft.com/dynimg/IC510569.png)
WindowsDesktop
![Desktop](https://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows/raw/master/automation_desktop.png)
Qt5
![Qt5](http://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows/raw/master/automation_Qt.png)
Firefox
![Firefox](https://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows/raw/master/automation_firefox.png)
QQ
![QQ](https://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows/raw/master/automation_qq.png)
Batch rename pdf bookmark
![bookmark](https://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows/raw/master/rename_pdf_bookmark.gif)
没有合适的资源?快使用搜索试试~ 我知道了~
python封装微软UIAutomation代码 2016.06.18 0分
共23个文件
py:11个
png:4个
dll:2个
5星 · 超过95%的资源 需积分: 49 35 下载量 58 浏览量
2016-06-18
15:21:44
上传
评论 4
收藏 1.38MB 7Z 举报
温馨提示
本人写的python封装微软UIAutomation API,使编写UI自动化脚本非常容易。支持py2,py3,x86,x64,支持MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, FireFox等程序的UI自动化。 用法参考:http://www.cnblogs.com/Yinkaisheng/p/3444132.html 最新代码地址: https://github.com/yinkaisheng/Python-UIAutomation-for-Windows http://git.oschina.net/yinkaisheng/PythonUIAutomation4Windows
资源推荐
资源详情
资源评论
收起资源包目录
PythonUIAutomation4Windows.7z (23个子文件)
PythonUIAutomation4Windows
rename_pdf_bookmark.gif 689KB
HideConsoleWindow.py 423B
get_system_devices.py 956B
InspectX64.exe 290KB
automation_notepad_py2.py 6KB
notepadtop.py 597B
readme.md 2KB
automation_firefox.png 264KB
AutomationClientX64.dll 16KB
automation_desktop.png 45KB
automation.py 149KB
LICENSE 18KB
automation_notepad_py3.py 5KB
automation.pyc 118KB
get_qq_group_members.py 3KB
automation_firefox.py 3KB
rename_pdf_bookmark.py 9KB
AutomationClientX86.dll 15KB
InspectX86.exe 245KB
walk_test.py 1KB
winhotkey_test.py 1KB
automation_qq.png 143KB
automation_Qt.png 128KB
共 23 条
- 1
资源评论
- 白楊2019-03-26比较旧了,还好
yinkaisheng-nj
- 粉丝: 763
- 资源: 6953
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功