sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25165
[Bug 1008113] Re: [request] Windows: want better support with App.focus() and switchApp()?
BTW I also tried:
a = App(r"C:\Program Files (x86)\eMule\emule.exe")
b = App(r"C:\Program Files (x86)\Steame\steam.exe")
a.open()
b.open()
wait(5)
c = b.window()
if not b:
popup("not found")
exit(1)
popup("found")
When the applications are not running i get a "found" (i.e. it finds the window and object) but when the applications are already running i get a "not found"
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1008113
Title:
[request] Windows: want better support with App.focus() and
switchApp()?
Status in Sikuli:
In Progress
Bug description:
Is there some bug with focus() or switchApp() handled on windows? I
noticed that if I use the same method on mac it works find and puts
the application in the front, but when using it on windows it does
not.
what I did was put the application (ff) behind a different application (ie) and want to get a focus on it so it becomes the application in front.
code:
switchApp('firefox')
or
ff = App('firefox')
ff.focus()
- another q, is that if the application is minimized (win or mac),
would focus() also work and open the application and put it in
focus()?
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1008113/+subscriptions
References