sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32245
Re: [Question #266528]: app.focus() not working after window title change (Windows 8.1)?
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
RaiMan posted a new comment:
I just took the chance to revise the App class, so this all is done
internally.
So this would work from tomorrow on:
app = App("some path to the app\someApp.exe")
app.open()
app.focus()
In this case the app.focus() will simply bring the app to the front with
it's currently selected/frontmost window.
To select any other window by (part of the) title this still works:
app = App.focus("window title")
#do something
app.focus() # bring back this app to front with it's now may be different selected window.
This means, that an app object now on windows "knows" it's entry in the
tasklist.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.