window.activate fails for window class #572
jack99999
started this conversation in
Beta feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm using beta 5.
This fails:
subprocess.Popen(["krusader"])
retCode = window.wait_for_exist('krusader.krusader', timeOut=3)
window.activate('krusader.krusader',switchDesktop=True)
This is what i used to have for a long time. it has stopped working recently and i finally got round to finding the problem.
What happens now is that the Krusader window is created but AutoKey does not switch to it.
This works:
subprocess.Popen(["krusader"])
retCode = window.wait_for_exist('Krusader', timeOut=3)
window.activate('Krusader',switchDesktop=True)
AutoKey shows:
Active window information:
Title: 'Krusader'
Class: 'krusader.krusader'
Beta Was this translation helpful? Give feedback.
All reactions