Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
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 ...

Results 157 Python-UIAutomation-for-Windows issues
Sort by recently updated
recently updated
newest added
trafficstars

目前 Class Bitmap 有 FromFile、ToFile方法。 是否可以新增对base64图片的支持,如: FromBase64、ToBase64

How can we highlight a control before clicking it? Is there a way to capture only the controls that are in focus or highlighted?

``` openButtonList = layout.ButtonControl(searchDepth=7, Name="打开") ``` 只返回了第一个button信息,有什么方法可以返回一组吗 ![image](https://github.com/user-attachments/assets/5dea4a6e-1e9e-4742-8b4b-e818771ef43c)

def Exist 函数 第6608行 `if self._element == rootElement:` 应该是用 `.GetRuntimeId()` 判断,不是直接比较两个对象吧

It would be great if you could include support for the XPath way of accessing elements in the tree; it can help with automation. More like get_element_by_xpath

在utf-8的环境中,发送emoji字符出错。 现在标准的emoji都是8位,比如\U000ff600。但是sendkeys只能发送4位的字符,比如\u263a。 这个🈶什么好的解决方法吗?

最新的微信4.0 采用QT编写的. 已经无法获取到组件中的Name或Value属性了。有什么好的解决方案吗?>

Control的CreateControlFromElement方法有几率会出现COMError。原因是传递给CreateControlFromElement的element在访问CurrentControlType属性时已经被释放,可以考虑是否增加try...except... File "D:\Python\Lib\site-packages\uiautomation\uiautomation.py", line 7469, in GetFirstChildControl return Control.CreateControlFromElement(ele) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Python\Lib\site-packages\uiautomation\uiautomation.py", line 6939, in CreateControlFromElement controlType = element.CurrentControlType ^^^^^^^^^^^^^^^^^^^^^^^^^^ _ctypes.COMError: (-2147220991, '事件无法调用任何订户', (None, None, None, 0, None))