sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39758
Re: [Question #332104]: App finds and focus on the wrong window
Question #332104 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/332104
Fabien Four posted a new comment:
I wanted to be able to know if the application/window is started. and if so, put the focus on it.
For that, I wanted to use something like
mywindow = App("Output")
if not mywindow .isRunning():
exit(1)
mywindow .focus("Output")
appWindow = mywindow .focusedWindow()
So your solution wouldn't work since the window needs to be already the frontmost window.
do you have a solution for that?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.