Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
123liuyan opened this issue Aug 31, 2022 · 2 comments

Comments

@123liuyan
Copy link

123liuyan commented Aug 31, 2022

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
Copy link

UshioYu commented Feb 3, 2023

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()

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

您好,请问您解决了吗?

@Succee
Copy link

Succee commented May 7, 2023

#177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants