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 ...
我在程序中开启了多个相同程序的进程,但是在尝试控制的时候,总是随机选择一个进程,就是很迷。虽然有 foundIndex 参数,但是用了之后,还是不好使。。请问这个怎么解决呢?
H:\CephTest\venv\Scripts\python.exe C:\PyCharm2019.1.2\helpers\pydev\pydevd.py --multiproc --save-signatures --qt-support=auto --client 127.0.0.1 --port 60858 --file H:/CephTest/TestPython.py pydev debugger: process 12568 is connecting Connected to pydev debugger (build 191.7141.48) OK start test the cephalometric analysis program...
2019-12-20 11:38:04.577 automation.py[75] main -> Starts, Current Cursor Position: (188, 244) ControlType: PaneControl ClassName: #32769 AutomationId: Rect: (0,0,1707,960)[1707x960] Name: 桌面 1 Handle: 0x10010(65552) Depth: 0 SupportedPattern: LegacyIAccessiblePattern ControlType: WindowControl ClassName:...
 界面见连接,我解析出来的是  仅仅能识别最外层额框,不知道怎么处理,能不能给些知道意见呢
我看您的项目中涉及到事件的处理都是采用WIN32的接口,能不能在Python中直接采用UI Automation的Event接口,比如AddAutomationEventHandler这种方式?
CurrentVerticalScrollPercent方法调用正常,显示数据也正确,但是在调用SetScrollPercent的时候,界面没有反馈效果,重新获取percent还是不变?尝试了SetFocus之后还是不行
大神,请问在win10 19041.264, python 3.7.5 64bit环境下执行下面的代码: browser_window = uiautomation.WindowControl(searchDepth=1, ClassName='MozillaWindowClass') left, top, right, bottom = browser_window.BoundingRectangle 报出如下提示: `Can not load UIAutomationCore.dll. You may need to install Windows Update KB971513. https://github.com/yinkaisheng/WindowsUpdateKB971513ForIUIAutomation Exception...
Hi, I have tried to read the URL values in the firefox browser. ``` win = auto.PaneControl(Depth=1, ClassName='MozillaWindowClass', SubName='Mozilla Firefox') temp = win.PaneControl(Depth=1, Name=browser).GetChildren()[1].GetChildren()[0] for bar in temp.GetChildren(): last =...
RT. 示例场景: 一个DataGridView下面的DataItem 