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

Please implement SendInput() instead of keybd_event(). In my case keybd_event doesn't work. Microsoft recommends this: [nf-winuser-sendinput](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput) ![image](https://user-images.githubusercontent.com/86870304/183583222-24e5770c-3e50-42fe-bf95-7c47c395aa7e.png) I found some examples, which actually maps with the existing data structures: [python-simulate-keydown](https://discuss.dizzycoding.com/python-simulate-keydown/)...

`itemValue = element.item.GetGridPattern().GetItem(1,1) ` return an error: `TypeError: GetItem() takes 1 positional argument but 3 were given` . The `element.item.GetGridPattern() ` code return a GridPattern object `` Could you please...

【测试代码】: controlInfo.py class ControlInfo: """automation 控件信息""" home_text = auto.TextControl(Name="主页", AutomationId="lblText") apply_win = auto.PaneControl(AutomationId="Apply") result_text = auto.TextControl(Name="结果") result_day = auto.TabItemControl(Name="当日结果") result_picketage = auto.TabItemControl(Name="定标结果") 点击: from utils.controlInfo import ControlInfo def click2(self): """使用uiautomation...

use a wpf program in second time, the errror occurs。 the code is following: ports = app.ComboBoxControl(AutomationId="cbPorts") dev = select_port(34952) result = uiautomation.WaitForExist(ports, 30) if result == True: ports.Select(dev) the...

当在中文输入法情况下 输入abcd 会转化成对应中文,导致找不到文件

Cannot get the correct position of the control. This is the error log, Can not move cursor. ButtonControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {regexName: '.*Log Out', ControlType: ButtonControl} This is what...

control.Exists()经常会报错,refind()则不会,我看到refind里面加了exception,exists里面则没有,是不是这个原因?

``` def bring_window_to_front(window: HWND): with uiautomation.UIAutomationInitializerInThread(True): window_handle = uiautomation.ControlFromHandle(window) window_handle.SetFocus() ``` I have the following code and it does not work. ``` call InitializeUIAutomationInCurrentThread in , inited True module 'comtypes.gen.UIAutomationClient'...