Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
(Donot use 3.7.6,3.8.1):snake:Python 3 wrapper of Microsoft UIAutomation. Support UIAutomation for MFC, WindowsForm, WPF, Modern UI(Metro UI), Qt, IE, Firefox, Chrome ...
Just noticed that there is 2.0.18 release on March 19, 2023. What was changed in release compared to 2.0.17 ? Do you have release notes anywhere ?
需要查找的对象是一个由TextControl组成的消息队列,现在我需要获取的是最新的一条消息,而它又排在索引的最后一位,亦也无法确定一共有多少条消息。foundIndex貌似不支持输入负数。请问应该如何精准定位位于索引最后一位的控件?
1. 基于fastapi封装http服务 2. 内部调用GetFocusedControl接口,后遍历获取所有element 3. 打包成exe程序 4. 将该exe打包为windows service 期望结果:可以通过http接口正常获取页面元素信息 实际结果:1.手动启动exe程序后,可以通过http接口正常获取页面元素信息 2. 打包为window service后,永远只能获取到Desktop 1信息,获取不到其他相关UI信息
如果我想新起一个线程监控概率性弹窗,应该怎么使用uiautomation才能避免线程冲突呢?
我该怎么写才能把EditContral 把IsReadOnly设置为False ,然后setValue
This error happens when you retrieve elements with `ControlFromPoint`: ``` control = auto.ControlFromCursor() File "Z:\Repos\rpaframework\packages\windows\.venv\lib\site-packages\uiautomation\uiautomation.py", line 8190, in ControlFromCursor return ControlFromPoint(x, y) File "Z:\Repos\rpaframework\packages\windows\.venv\lib\site-packages\uiautomation\uiautomation.py", line 8168, in ControlFromPoint element =...
Python-UIAutomation-for-Windows 对 silverlight web是否支持?
uiautomation version==1.1.5, python version==3.7.5, windows 10 日志信息如下: 64782 WARNING: library UIAutomationClient_VC100_X64.dll required via ctypes not found 64782 WARNING: library UIAutomationClient_VC90_X64.dll required via ctypes not found 64782 WARNING: library UIAutomationClient_VC140_X86.dll required...
pyWindow = auto.WindowControl(searchDepth=1, Name='aaa') pyWindow.SendKeys('{PageDown}') 或这段pyWindow.GroupControl().DragDrop(464, 500, 464, 680, moveSpeed=5, waitTime=1) pyWindow.TextControl(Name='bbb').Click() 执行后控制台报 -> Can not move cursor. TextControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {Name: 'bbb', ControlType: TextControl} 有人遇到过类似的问题吗?