Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
Python-UIAutomation-for-Windows copied to clipboard

Can not move cursor. PaneControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {ControlType: PaneControl}

Open 123liuyan opened this issue 3 years ago • 2 comments
trafficstars

win_c = auto.WindowControl(searchDepth=10, ClassName="IEFrame").PaneControl(searchDepth=10, ClassName='Frame Tab').PaneControl(searchDepth=10, ClassName="TabWindowClass") pw_input = win_c.GetChildren()[0].GetChildren()[0].GetChildren()[0] is_pw_input = auto.WaitForExist(pw_input, 20) print("-------------------------------------------------------") print(win_c) print("-------------------------------------------------------") print(pw_input) print("-------------------------------------------------------") if is_pw_input: time.sleep(15) pw_input.Click()

显示已经找到这个元素了,但是在移动点击的时候会报这个错,尝试了好多次都是这样,有什么解决的方法吗?急急急!感谢各位大佬啦~ 鞠躬感谢~

123liuyan avatar Aug 31 '22 03:08 123liuyan

win_c = auto.WindowControl(searchDepth=10, ClassName="IEFrame").PaneControl(searchDepth=10, ClassName='Frame Tab').PaneControl(searchDepth=10, ClassName="TabWindowClass") pw_input = win_c.GetChildren()[0].GetChildren()[0].GetChildren()[0] is_pw_input = auto.WaitForExist(pw_input, 20) print("-------------------------------------------------------") print(win_c) print("-------------------------------------------------------") print(pw_input) print("-------------------------------------------------------") if is_pw_input: time.sleep(15) pw_input.Click()

显示已经找到这个元素了,但是在移动点击的时候会报这个错,尝试了好多次都是这样,有什么解决的方法吗?急急急!感谢各位大佬啦~ 鞠躬感谢~

您好,请问您解决了吗?

UshioYu avatar Feb 03 '23 14:02 UshioYu

#177

Succee avatar May 07 '23 13:05 Succee